File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 2727//! * Good for: `.cargo/config.toml`, `config.json` index file (gate: `-Z`)
2828//!
2929//! For features that touch multiple parts of Cargo, multiple feature gating strategies (error,
30- //! warn, ignore) and mechnisms (`-Z`, `cargo-features`) may be used.
30+ //! warn, ignore) and mechanisms (`-Z`, `cargo-features`) may be used.
3131//!
3232//! When adding new tests for your feature, usually the tests should go into a
3333//! new module of the testsuite named after the feature. See
@@ -513,7 +513,7 @@ features! {
513513
514514/// Status and metadata for a single unstable feature.
515515pub struct Feature {
516- /// Feature name. This is valid Rust identifer so no dash only underscore.
516+ /// Feature name. This is valid Rust identifier so no dash only underscore.
517517 name : & ' static str ,
518518 stability : Status ,
519519 /// Version that this feature was stabilized or removed.
Original file line number Diff line number Diff line change @@ -967,7 +967,7 @@ impl RegistryConfig {
967967 const NAME : & ' static str = "config.json" ;
968968}
969969
970- /// Get the maximum upack size that Cargo permits
970+ /// Get the maximum unpack size that Cargo permits
971971/// based on a given `size` of your compressed file.
972972///
973973/// Returns the larger one between `size * max compression ratio`
Original file line number Diff line number Diff line change @@ -513,7 +513,7 @@ impl CacheLocker {
513513 ///
514514 /// Note that `Shared` will return true if a `MutateExclusive` lock is
515515 /// held, since `MutateExclusive` is just an upgraded `Shared`. Likewise,
516- /// `DownlaodExclusive ` will return true if a `MutateExclusive` lock is
516+ /// `DownloadExclusive ` will return true if a `MutateExclusive` lock is
517517 /// held since they overlap.
518518 pub fn is_locked ( & self , mode : CacheLockMode ) -> bool {
519519 let state = self . state . borrow ( ) ;
You can’t perform that action at this time.
0 commit comments