Skip to content

Commit 6d9f3a6

Browse files
author
Jonathan Claudius
committed
Fix ups per dwijnand's review
1 parent 1584bb4 commit 6d9f3a6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/bin/cargo/commands/pkgid.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Example Package IDs
2727
crates.io/foo | foo | * | *://crates.io/foo
2828
crates.io/foo#1.2.3 | foo | 1.2.3 | *://crates.io/foo
2929
crates.io/bar#foo:1.2.3 | foo | 1.2.3 | *://crates.io/bar
30-
https://crates.io/foo#1.2.3 | foo | 1.2.3 | https://crates.io/foo
30+
https://crates.io/foo#1.2.3 | foo | 1.2.3 | https://crates.io/foo
3131
",
3232
)
3333
}

src/cargo/ops/cargo_package.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ fn check_metadata(pkg: &Package, config: &Config) -> CargoResult<()> {
152152

153153
config.shell().warn(&format!(
154154
"manifest has no {things}.\n\
155-
See https://doc.rust-lang.org/cargo/reference/manifest.html for more info.",
155+
See https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata for more info.",
156156
things = things
157157
))?
158158
}

src/cargo/ops/registry.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ fn transmit(
290290
the following are not valid badges and were ignored: {}. \
291291
Either the badge type specified is unknown or a required \
292292
attribute is missing. Please see \
293-
https://doc.rust-lang.org/cargo/reference/manifest.html \
293+
https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata \
294294
for valid badge types and their required attributes.",
295295
warnings.invalid_badges.join(", ")
296296
);

0 commit comments

Comments
 (0)