From: Carol (Nichols || Goulding) Date: Fri, 29 Sep 2017 19:36:55 +0000 (-0400) Subject: Fix some typos in docs and error messages X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~6^2~27^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=71ef41a99fca2dbac123c8aa57e1933554a47667;p=cargo.git Fix some typos in docs and error messages --- diff --git a/src/cargo/core/features.rs b/src/cargo/core/features.rs index c73c1bc47..4bfafc174 100644 --- a/src/cargo/core/features.rs +++ b/src/cargo/core/features.rs @@ -18,7 +18,7 @@ //! the `Manifest::feature_gate` function, but otherwise you may wish to //! place the feature gate elsewhere in Cargo. //! -//! 3. Do actually perform the feature gate, you'll want to have code that looks +//! 3. To actually perform the feature gate, you'll want to have code that looks //! like: //! //! ```rust,ignore @@ -148,7 +148,7 @@ impl Features { }; if *slot { - bail!("the cargo feature `{}` has already bene activated", feature); + bail!("the cargo feature `{}` has already been activated", feature); } match status { @@ -200,7 +200,7 @@ impl Features { } } -/// A parsed represetnation of all unstable flags that Cargo accepts. +/// A parsed representation of all unstable flags that Cargo accepts. /// /// Cargo, like `rustc`, accepts a suite of `-Z` flags which are intended for /// gating unstable functionality to Cargo. These flags are only available on