File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636 - uses : actions/checkout@v6
3737 - uses : dtolnay/rust-toolchain@master
3838 with :
39- toolchain : 1.65 .0
39+ toolchain : 1.85 .0
4040 - run : cargo check --locked --lib --all-features
4141
4242 lint :
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ documentation = "https://docs.rs/hashlink"
88readme = " README.md"
99keywords = [" data-structures" , " no_std" ]
1010license = " MIT OR Apache-2.0"
11- rust-version = " 1.65 "
11+ rust-version = " 1.85 "
1212
1313[features ]
1414serde_impl = [" serde" ]
Original file line number Diff line number Diff line change @@ -2310,9 +2310,7 @@ where
23102310 S : BuildHasher ,
23112311 Q : Hash + ?Sized ,
23122312{
2313- let mut hasher = s. build_hasher ( ) ;
2314- k. hash ( & mut hasher) ;
2315- hasher. finish ( )
2313+ s. hash_one ( k)
23162314}
23172315
23182316// We do not drop the key and value when a value is filtered from the map during the call to
You can’t perform that action at this time.
0 commit comments