File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ impl SourceId {
164
164
}
165
165
166
166
/// 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.
168
168
///
169
169
/// Use [`SourceId::for_alt_registry`] if a name can provided, which
170
170
/// generates better messages for cargo.
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ required by package `foo v0.1.0 ([..]/foo)`
77
77
. run ( ) ;
78
78
79
79
// Publish a version without namespaced features, it should ignore 1.0.0
80
- // an use this instead.
80
+ // and use this instead.
81
81
Package :: new ( "bar" , "1.0.1" )
82
82
. add_dep ( Dependency :: new ( "baz" , "1.0" ) . optional ( true ) )
83
83
. feature ( "feat" , & [ "baz" ] )
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ required by package `foo v0.1.0 ([..]/foo)`
94
94
. run ( ) ;
95
95
96
96
// Publish a version without the ? feature, it should ignore 1.0.0
97
- // an use this instead.
97
+ // and use this instead.
98
98
Package :: new ( "bar" , "1.0.1" )
99
99
. add_dep ( Dependency :: new ( "baz" , "1.0" ) . optional ( true ) )
100
100
. feature ( "feat" , & [ "baz" ] )
You can’t perform that action at this time.
0 commit comments