diff --git a/Cargo.toml b/Cargo.toml index 39396d8..cf6e696 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "cargo-docs-rs" version = "0.1.5" authors = ["David Tolnay "] categories = ["development-tools::cargo-plugins"] -description = "Immitate the documentation build that docs.rs would do" +description = "Imitate the documentation build that docs.rs would do" edition = "2021" keywords = ["cargo", "subcommand", "docs-rs", "documentation"] license = "MIT OR Apache-2.0" diff --git a/src/main.rs b/src/main.rs index 9941d38..8aab2af 100644 --- a/src/main.rs +++ b/src/main.rs @@ -16,7 +16,7 @@ use std::env; use std::io::{self, Write as _}; use std::process::{self, Command, Stdio}; -cargo_subcommand_metadata::description!("Immitate the documentation build that docs.rs would do"); +cargo_subcommand_metadata::description!("Imitate the documentation build that docs.rs would do"); fn main() { if let Err(error) = do_main() { diff --git a/src/parser.rs b/src/parser.rs index 0ad9186..55a8b9e 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -8,7 +8,7 @@ const MANIFEST_OPTIONS: &str = "Manifest Options"; #[derive(Parser)] #[command(bin_name = "cargo", version, author, disable_help_subcommand = true)] pub enum Subcommand { - /// Immitate the documentation build that docs.rs would do + /// Imitate the documentation build that docs.rs would do #[command(name = "docs-rs", version, author, disable_version_flag = true)] Doc(Doc), }