Skip to content

Commit ff881ee

Browse files
committed
Fix more typos, “an”→“a” and “an”→“and”
1 parent 0a036a2 commit ff881ee

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/cargo/core/source/source_id.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ impl SourceId {
164164
}
165165

166166
/// Creates a SourceId from a remote registry URL when the registry name
167-
/// cannot be determined, e.g. an user passes `--index` directly from CLI.
167+
/// cannot be determined, e.g. a user passes `--index` directly from CLI.
168168
///
169169
/// Use [`SourceId::for_alt_registry`] if a name can provided, which
170170
/// generates better messages for cargo.

tests/testsuite/features_namespaced.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ required by package `foo v0.1.0 ([..]/foo)`
7777
.run();
7878

7979
// Publish a version without namespaced features, it should ignore 1.0.0
80-
// an use this instead.
80+
// and use this instead.
8181
Package::new("bar", "1.0.1")
8282
.add_dep(Dependency::new("baz", "1.0").optional(true))
8383
.feature("feat", &["baz"])

tests/testsuite/weak_dep_features.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ required by package `foo v0.1.0 ([..]/foo)`
9494
.run();
9595

9696
// Publish a version without the ? feature, it should ignore 1.0.0
97-
// an use this instead.
97+
// and use this instead.
9898
Package::new("bar", "1.0.1")
9999
.add_dep(Dependency::new("baz", "1.0").optional(true))
100100
.feature("feat", &["baz"])

0 commit comments

Comments
 (0)