File tree Expand file tree Collapse file tree 4 files changed +9
-6
lines changed
Expand file tree Collapse file tree 4 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -12,13 +12,15 @@ rust-version = "1.71.1"
1212
1313[dependencies ]
1414dlv-list = { version = " 0.5" , default-features = false }
15- hashbrown = { version = " 0.14.0 " , default-features = false }
15+ hashbrown = { version = " 0.15.2 " , default-features = false , features =[ " raw-entry " ] }
1616serde = { version = " 1" , optional = true , default-features = false }
1717
1818[features ]
1919default = [" std" ]
2020std = [" dlv-list/std" ]
2121
2222[dev-dependencies ]
23- coverage-helper = " 0.2.0"
2423serde_test = " 1.0.144"
24+
25+ [lints .rust ]
26+ unexpected_cfgs = { level = " warn" , check-cfg = [' cfg(coverage_nightly)' ] }
Original file line number Diff line number Diff line change 33//!
44//! See the type documentation for more information.
55
6- #![ cfg_attr( coverage_nightly, feature( coverage_attribute) ) ]
6+ #![ cfg_attr( all ( coverage_nightly, test ) , feature( coverage_attribute) ) ]
77#![ cfg_attr( not( feature = "std" ) , no_std) ]
88
99extern crate alloc;
Original file line number Diff line number Diff line change @@ -3524,8 +3524,8 @@ where
35243524
35253525#[ allow( unused_results) ]
35263526#[ cfg( all( test, feature = "std" ) ) ]
3527+ #[ cfg_attr( coverage_nightly, coverage( off) ) ]
35273528mod test {
3528- use coverage_helper:: test;
35293529
35303530 use super :: * ;
35313531
@@ -5361,7 +5361,7 @@ mod test {
53615361 #[ test]
53625362 fn test_dummy_hasher_finish ( ) {
53635363 let hasher = DummyHasher ;
5364- hasher. finish ( ) ;
5364+ let _ = hasher. finish ( ) ;
53655365 }
53665366
53675367 #[ should_panic]
Original file line number Diff line number Diff line change 7979
8080#[ allow( unused_results) ]
8181#[ cfg( all( test, feature = "std" ) ) ]
82+ #[ cfg_attr( coverage_nightly, coverage( off) ) ]
8283mod test {
83- use coverage_helper :: test ;
84+
8485 use serde_test:: { assert_de_tokens_error, assert_tokens, Token } ;
8586
8687 use super :: * ;
You can’t perform that action at this time.
0 commit comments