From ac0c539bf6df73b2b7b784e86dafd00ec1d5564d Mon Sep 17 00:00:00 2001 From: Jake Goulding Date: Fri, 21 Apr 2023 16:05:45 -0400 Subject: [PATCH] Fix typos (#192) * Fix typos * Fix typos --- README.md | 4 ++-- vergen/src/emitter.rs | 2 +- vergen/src/lib.rs | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 2c91d18e..4840e4a7 100644 --- a/README.md +++ b/README.md @@ -12,9 +12,9 @@ if the git feature is enabled. This is done to ensure any git instructions are the [`idempotent`](EmitBuilder::idempotent) flag. - Will emit [`cargo:rerun-if-changed=build.rs`](https://doc.rust-lang.org/cargo/reference/build-scripts.html#rerun-if-changed) to rerun instruction emission if the `build.rs` file changed. -- Will emit [`cargo:rurun-if-env-changed=VERGEN_IDEMPOTENT`](https://doc.rust-lang.org/cargo/reference/build-scripts.html#rerun-if-changed) +- Will emit [`cargo:rerun-if-env-changed=VERGEN_IDEMPOTENT`](https://doc.rust-lang.org/cargo/reference/build-scripts.html#rerun-if-changed) to rerun instruction emission if the `VERGEN_IDEMPOTENT` environment variable has changed. -- Will emit [`cargo:rurun-if-env-changed=SOURCE_DATE_EPOCH`](https://doc.rust-lang.org/cargo/reference/build-scripts.html#rerun-if-changed) +- Will emit [`cargo:rerun-if-env-changed=SOURCE_DATE_EPOCH`](https://doc.rust-lang.org/cargo/reference/build-scripts.html#rerun-if-changed) to rerun instruction emission if the `SOURCE_DATE_EPOCH` environment variable has changed. ## Current Release diff --git a/vergen/src/emitter.rs b/vergen/src/emitter.rs index 94a72b93..8542cac9 100644 --- a/vergen/src/emitter.rs +++ b/vergen/src/emitter.rs @@ -399,7 +399,7 @@ EmitBuilder::builder().fail_on_error().all_build().emit()?; /// Enable the quiet feature /// - /// Suppress the emission of the `cargo:waring` instructions. + /// Suppress the emission of the `cargo:warning` instructions. /// /// # Example /// diff --git a/vergen/src/lib.rs b/vergen/src/lib.rs index d35ebc57..4748bb34 100644 --- a/vergen/src/lib.rs +++ b/vergen/src/lib.rs @@ -20,9 +20,9 @@ //! the [`idempotent`](EmitBuilder::idempotent) flag. //! - Will emit [`cargo:rerun-if-changed=build.rs`](https://doc.rust-lang.org/cargo/reference/build-scripts.html#rerun-if-changed) //! to rerun instruction emission if the `build.rs` file changed. -//! - Will emit [`cargo:rurun-if-env-changed=VERGEN_IDEMPOTENT`](https://doc.rust-lang.org/cargo/reference/build-scripts.html#rerun-if-changed) +//! - Will emit [`cargo:rerun-if-env-changed=VERGEN_IDEMPOTENT`](https://doc.rust-lang.org/cargo/reference/build-scripts.html#rerun-if-changed) //! to rerun instruction emission if the `VERGEN_IDEMPOTENT` environment variable has changed. -//! - Will emit [`cargo:rurun-if-env-changed=SOURCE_DATE_EPOCH`](https://doc.rust-lang.org/cargo/reference/build-scripts.html#rerun-if-changed) +//! - Will emit [`cargo:rerun-if-env-changed=SOURCE_DATE_EPOCH`](https://doc.rust-lang.org/cargo/reference/build-scripts.html#rerun-if-changed) //! to rerun instruction emission if the `SOURCE_DATE_EPOCH` environment variable has changed. //! //! ## Usage