Fix more typos, “an”→“a” and “an”→“and”

This commit is contained in:
Frank Steffahn 2021-08-22 17:57:35 +02:00
parent 0a036a2e2a
commit ff881ee262
3 changed files with 3 additions and 3 deletions

View file

@ -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.

View file

@ -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"])

View file

@ -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"])