remove unnecessary double-colons

This commit is contained in:
Daniel Eades
2019-08-16 19:54:09 +01:00
committed by Sean McArthur
parent 06353fbb1a
commit 4bb4149b63
12 changed files with 70 additions and 70 deletions

View File

@@ -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()
}