remove unnecessary double-colons
This commit is contained in:
committed by
Sean McArthur
parent
06353fbb1a
commit
4bb4149b63
@@ -42,7 +42,7 @@ pub(crate) fn expect_uri(url: &Url) -> hyper::Uri {
|
||||
url.as_str().parse().expect("a parsed Url should always be a valid Uri")
|
||||
}
|
||||
|
||||
pub(crate) fn try_uri(url: &Url) -> Option<::hyper::Uri> {
|
||||
pub(crate) fn try_uri(url: &Url) -> Option<hyper::Uri> {
|
||||
url.as_str().parse().ok()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user