From e5a36552197926b4aada528bc3f5821d84a8683a Mon Sep 17 00:00:00 2001 From: fengyuchuanshen Date: Tue, 4 Nov 2025 21:26:33 +0800 Subject: [PATCH] chore: fix some typos in comments Signed-off-by: fengyuchuanshen --- guides/manual-testing.md | 2 +- src/cli.rs | 2 +- src/scaffold/entry_type/definitions.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/guides/manual-testing.md b/guides/manual-testing.md index 935e4ba52..cf50c7a9c 100644 --- a/guides/manual-testing.md +++ b/guides/manual-testing.md @@ -28,7 +28,7 @@ To test the current local version of the Scaffolding tool: 5. Follow the Scaffolding tool's output instructions, but skip the `nix develop` step to ensure you continue using the locally built `hc-scaffold` instead of that from `holochain/holonix`. -6. Run tests or launch your hApp using `nix develop` as needed. This shell contians a `hc-scaffold` built from `holochain/holonix` alongside other nix packages needed for local development of your hApp such as node.js and package managers like pnpm, bun or yarn. +6. Run tests or launch your hApp using `nix develop` as needed. This shell contains a `hc-scaffold` built from `holochain/holonix` alongside other nix packages needed for local development of your hApp such as node.js and package managers like pnpm, bun or yarn. ## Testing with Different Holochain Versions diff --git a/src/cli.rs b/src/cli.rs index 6403cbc1f..d569347fd 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -69,7 +69,7 @@ impl HcScaffold { scaffold_config: Option<&ScaffoldConfig>, ) -> Result { // Read template_type config if no `--template` flag is provided and use it or - // ensure that if a `--template` is explicity provided, it matches the original + // ensure that if a `--template` is explicitly provided, it matches the original // template the app was scaffolded with let template = match (scaffold_config, &self.template) { (Some(config), Some(template)) if config.template != *template => { diff --git a/src/scaffold/entry_type/definitions.rs b/src/scaffold/entry_type/definitions.rs index d9fde63a9..a8579d9c6 100644 --- a/src/scaffold/entry_type/definitions.rs +++ b/src/scaffold/entry_type/definitions.rs @@ -297,7 +297,7 @@ impl FromStr for FieldDefinition { }; // XXX: perhaps widget-types can be validated at this level rather than - // on attemting to render templates + // on attempting to render templates let widget = str_path .next() .filter(|v| !v.is_empty())