@@ -1861,7 +1861,7 @@ where
18611861 }
18621862
18631863 if * self == DUMMY_SP {
1864- std :: hash :: Hash :: hash ( & TAG_INVALID_SPAN , hasher) ;
1864+ Hash :: hash ( & TAG_INVALID_SPAN , hasher) ;
18651865 return ;
18661866 }
18671867
@@ -1872,28 +1872,28 @@ where
18721872 let ( file_lo, line_lo, col_lo) = match ctx. byte_pos_to_line_and_col ( span. lo ) {
18731873 Some ( pos) => pos,
18741874 None => {
1875- std :: hash :: Hash :: hash ( & TAG_INVALID_SPAN , hasher) ;
1875+ Hash :: hash ( & TAG_INVALID_SPAN , hasher) ;
18761876 span. ctxt . hash_stable ( ctx, hasher) ;
18771877 return ;
18781878 }
18791879 } ;
18801880
18811881 if !file_lo. contains ( span. hi ) {
1882- std :: hash :: Hash :: hash ( & TAG_INVALID_SPAN , hasher) ;
1882+ Hash :: hash ( & TAG_INVALID_SPAN , hasher) ;
18831883 span. ctxt . hash_stable ( ctx, hasher) ;
18841884 return ;
18851885 }
18861886
1887- std :: hash :: Hash :: hash ( & TAG_VALID_SPAN , hasher) ;
1887+ Hash :: hash ( & TAG_VALID_SPAN , hasher) ;
18881888 // We truncate the stable ID hash and line and column numbers. The chances
18891889 // of causing a collision this way should be minimal.
1890- std :: hash :: Hash :: hash ( & ( file_lo. name_hash as u64 ) , hasher) ;
1890+ Hash :: hash ( & ( file_lo. name_hash as u64 ) , hasher) ;
18911891
18921892 let col = ( col_lo. 0 as u64 ) & 0xFF ;
18931893 let line = ( ( line_lo as u64 ) & 0xFF_FF_FF ) << 8 ;
18941894 let len = ( ( span. hi - span. lo ) . 0 as u64 ) << 32 ;
18951895 let line_col_len = col | line | len;
1896- std :: hash :: Hash :: hash ( & line_col_len, hasher) ;
1896+ Hash :: hash ( & line_col_len, hasher) ;
18971897 span. ctxt . hash_stable ( ctx, hasher) ;
18981898 }
18991899}
0 commit comments