Skip to content

Commit c5d2304

Browse files
committed
test(pkgid): scheme must be explicit named
1 parent ade33c2 commit c5d2304

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/cargo/core/package_id_spec.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,9 @@ impl PackageIdSpec {
3838
/// use cargo::core::PackageIdSpec;
3939
///
4040
/// let specs = vec![
41+
/// "https://crates.io/foo",
4142
/// "https://crates.io/foo#1.2.3",
4243
/// "https://crates.io/foo#bar:1.2.3",
43-
/// "crates.io/foo",
44-
/// "crates.io/foo#1.2.3",
45-
/// "crates.io/foo#bar",
46-
/// "crates.io/foo#bar:1.2.3",
4744
/// "foo",
4845
/// "foo:1.2.3",
4946
/// ];

0 commit comments

Comments
 (0)