diff --git a/src/child.rs b/src/child.rs index 7b8a58cf..52249ac3 100644 --- a/src/child.rs +++ b/src/child.rs @@ -1,4 +1,4 @@ -//! Utilties for managing child processes. +//! Utilities for managing child processes. //! //! This module helps us ensure that all child processes that we spawn get //! properly logged and their output is logged as well. diff --git a/src/command/mod.rs b/src/command/mod.rs index 86eaf3f9..190e8738 100644 --- a/src/command/mod.rs +++ b/src/command/mod.rs @@ -31,7 +31,7 @@ pub enum Command { #[structopt(name = "pack")] /// 🍱 create a tar of your npm package but don't publish! Pack { - /// The path to the Rust crate. If not set, searches up the path from the current dirctory. + /// The path to the Rust crate. If not set, searches up the path from the current directory. #[structopt(parse(from_os_str))] path: Option, }, @@ -69,7 +69,7 @@ pub enum Command { #[structopt(long = "tag")] tag: Option, - /// The path to the Rust crate. If not set, searches up the path from the current dirctory. + /// The path to the Rust crate. If not set, searches up the path from the current directory. #[structopt(parse(from_os_str))] path: Option, }, diff --git a/src/command/test.rs b/src/command/test.rs index eed92ebd..d7b66424 100644 --- a/src/command/test.rs +++ b/src/command/test.rs @@ -81,7 +81,7 @@ pub struct TestOptions { /// Path to the Rust crate, and extra options to pass to `cargo test`. /// - /// If the path is not provided, this command searches up the path from the current dirctory + /// If the path is not provided, this command searches up the path from the current directory. /// /// This is a workaround to allow wasm pack to provide the same command line interface as `cargo`. /// See for more information. diff --git a/src/lockfile.rs b/src/lockfile.rs index 44cb1039..f4a68eac 100644 --- a/src/lockfile.rs +++ b/src/lockfile.rs @@ -65,7 +65,7 @@ impl Lockfile { } } -/// Given the path to the crate that we are buliding, return a `PathBuf` +/// Given the path to the crate that we are building, return a `PathBuf` /// containing the location of the lock file, by finding the workspace root. fn get_lockfile_path(crate_data: &CrateData) -> Result { // Check that a lock file can be found in the directory. Return an error