File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1066,7 +1066,7 @@ impl<T> HeaderMap<T> {
10661066 } else {
10671067 ValueIter {
10681068 map : self ,
1069- index : :: std :: usize:: MAX ,
1069+ index : usize:: MAX ,
10701070 front : None ,
10711071 back : None ,
10721072 }
Original file line number Diff line number Diff line change @@ -28,9 +28,9 @@ use std::convert::TryFrom;
2828use bytes:: Bytes ;
2929
3030use std:: error:: Error ;
31+ use std:: fmt;
3132use std:: hash:: { Hash , Hasher } ;
3233use std:: str:: { self , FromStr } ;
33- use std:: { fmt, u16, u8} ;
3434
3535use self :: scheme:: Scheme2 ;
3636
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ pub struct PathAndQuery {
1414 pub ( super ) query : u16 ,
1515}
1616
17- const NONE : u16 = :: std :: u16:: MAX ;
17+ const NONE : u16 = u16:: MAX ;
1818
1919impl PathAndQuery {
2020 // Not public while `bytes` is unstable.
You can’t perform that action at this time.
0 commit comments