diff --git a/src/uri/path.rs b/src/uri/path.rs index f1c660e..cb89e9d 100644 --- a/src/uri/path.rs +++ b/src/uri/path.rs @@ -23,10 +23,6 @@ impl PathAndQuery { let mut fragment = None; // block for iterator borrow - // - // allow: `...` pattersn are now `..=`, but we cannot update yet - // because of minimum Rust version - #[allow(warnings)] { let mut iter = src.as_ref().iter().enumerate(); @@ -61,10 +57,6 @@ impl PathAndQuery { // query ... if query != NONE { - - // allow: `...` pattersn are now `..=`, but we cannot update yet - // because of minimum Rust version - #[allow(warnings)] for (i, &b) in iter { match b { // While queries *should* be percent-encoded, most