File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -56,17 +56,17 @@ impl From<Timeval> for Duration {
56
56
impl From < MicroSeconds > for Timeval {
57
57
#[ inline]
58
58
fn from ( t : MicroSeconds ) -> Self {
59
- let secs = ( t. 0 / MICROS_PER_SEC ) as self :: timeval:: TvSecs ;
60
- let micros = ( t. 0 % MICROS_PER_SEC ) as self :: timeval:: TvUsecs ;
59
+ let secs = ( t. 0 / MICROS_PER_SEC ) as super :: timeval:: TvSecs ;
60
+ let micros = ( t. 0 % MICROS_PER_SEC ) as super :: timeval:: TvUsecs ;
61
61
Timeval :: new ( secs, micros)
62
62
}
63
63
}
64
64
65
65
impl From < Duration > for Timeval {
66
66
#[ inline]
67
67
fn from ( t : Duration ) -> Self {
68
- let secs = t. as_secs ( ) as self :: timeval:: TvSecs ;
69
- let micros = t. subsec_micros ( ) as self :: timeval:: TvUsecs ;
68
+ let secs = t. as_secs ( ) as super :: timeval:: TvSecs ;
69
+ let micros = t. subsec_micros ( ) as super :: timeval:: TvUsecs ;
70
70
Timeval :: new ( secs, micros)
71
71
}
72
72
}
You can’t perform that action at this time.
0 commit comments