mirror of
https://github.com/rust-lang/cargo
synced 2024-08-25 02:25:46 +00:00
Fix more typos, “an”→“a” and “an”→“and”
This commit is contained in:
parent
0a036a2e2a
commit
ff881ee262
|
@ -164,7 +164,7 @@ impl SourceId {
|
|||
}
|
||||
|
||||
/// Creates a SourceId from a remote registry URL when the registry name
|
||||
/// cannot be determined, e.g. an user passes `--index` directly from CLI.
|
||||
/// cannot be determined, e.g. a user passes `--index` directly from CLI.
|
||||
///
|
||||
/// Use [`SourceId::for_alt_registry`] if a name can provided, which
|
||||
/// generates better messages for cargo.
|
||||
|
|
|
@ -77,7 +77,7 @@ required by package `foo v0.1.0 ([..]/foo)`
|
|||
.run();
|
||||
|
||||
// Publish a version without namespaced features, it should ignore 1.0.0
|
||||
// an use this instead.
|
||||
// and use this instead.
|
||||
Package::new("bar", "1.0.1")
|
||||
.add_dep(Dependency::new("baz", "1.0").optional(true))
|
||||
.feature("feat", &["baz"])
|
||||
|
|
|
@ -94,7 +94,7 @@ required by package `foo v0.1.0 ([..]/foo)`
|
|||
.run();
|
||||
|
||||
// Publish a version without the ? feature, it should ignore 1.0.0
|
||||
// an use this instead.
|
||||
// and use this instead.
|
||||
Package::new("bar", "1.0.1")
|
||||
.add_dep(Dependency::new("baz", "1.0").optional(true))
|
||||
.feature("feat", &["baz"])
|
||||
|
|
Loading…
Reference in a new issue