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> {
1066
1066
} else {
1067
1067
ValueIter {
1068
1068
map : self ,
1069
- index : :: std :: usize:: MAX ,
1069
+ index : usize:: MAX ,
1070
1070
front : None ,
1071
1071
back : None ,
1072
1072
}
Original file line number Diff line number Diff line change @@ -28,9 +28,9 @@ use std::convert::TryFrom;
28
28
use bytes:: Bytes ;
29
29
30
30
use std:: error:: Error ;
31
+ use std:: fmt;
31
32
use std:: hash:: { Hash , Hasher } ;
32
33
use std:: str:: { self , FromStr } ;
33
- use std:: { fmt, u16, u8} ;
34
34
35
35
use self :: scheme:: Scheme2 ;
36
36
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ pub struct PathAndQuery {
14
14
pub ( super ) query : u16 ,
15
15
}
16
16
17
- const NONE : u16 = :: std :: u16:: MAX ;
17
+ const NONE : u16 = u16:: MAX ;
18
18
19
19
impl PathAndQuery {
20
20
// Not public while `bytes` is unstable.
You can’t perform that action at this time.
0 commit comments