We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f86850b commit b75d3b5Copy full SHA for b75d3b5
README.md
@@ -42,7 +42,7 @@ the [`ToString`](https://doc.rust-lang.org/std/string/trait.ToString.html) trait
42
use std::string::ToString;
43
44
fn example() {
45
- let canonical = package::PackageUrl::new("cargo", "packageurl")
+ let canonical = packageurl::PackageUrl::new("cargo", "packageurl")
46
.expect("only fails if type is invalid")
47
.with_version("0.3.0")
48
.to_string();
0 commit comments