Skip to content

Commit

Permalink
test(pkgid): scheme must be explicit named
Browse files Browse the repository at this point in the history
  • Loading branch information
weihanglo committed Mar 2, 2021
1 parent ade33c2 commit c5d2304
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/cargo/core/package_id_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,9 @@ impl PackageIdSpec {
/// use cargo::core::PackageIdSpec;
///
/// let specs = vec![
/// "https://crates.io/foo",
/// "https://crates.io/foo#1.2.3",
/// "https://crates.io/foo#bar:1.2.3",
/// "crates.io/foo",
/// "crates.io/foo#1.2.3",
/// "crates.io/foo#bar",
/// "crates.io/foo#bar:1.2.3",
/// "foo",
/// "foo:1.2.3",
/// ];
Expand Down

0 comments on commit c5d2304

Please sign in to comment.