File tree 3 files changed +4
-4
lines changed 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 27
27
//! * Good for: `.cargo/config.toml`, `config.json` index file (gate: `-Z`)
28
28
//!
29
29
//! 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.
31
31
//!
32
32
//! When adding new tests for your feature, usually the tests should go into a
33
33
//! new module of the testsuite named after the feature. See
@@ -513,7 +513,7 @@ features! {
513
513
514
514
/// Status and metadata for a single unstable feature.
515
515
pub 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.
517
517
name : & ' static str ,
518
518
stability : Status ,
519
519
/// Version that this feature was stabilized or removed.
Original file line number Diff line number Diff line change @@ -967,7 +967,7 @@ impl RegistryConfig {
967
967
const NAME : & ' static str = "config.json" ;
968
968
}
969
969
970
- /// Get the maximum upack size that Cargo permits
970
+ /// Get the maximum unpack size that Cargo permits
971
971
/// based on a given `size` of your compressed file.
972
972
///
973
973
/// 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 {
513
513
///
514
514
/// Note that `Shared` will return true if a `MutateExclusive` lock is
515
515
/// 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
517
517
/// held since they overlap.
518
518
pub fn is_locked ( & self , mode : CacheLockMode ) -> bool {
519
519
let state = self . state . borrow ( ) ;
You can’t perform that action at this time.
0 commit comments