File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ include = [
1919]
2020
2121[dependencies ]
22- hashbrown = " 0.12.0 "
23- once_cell = " 1.10 .0"
22+ hashbrown = " 0.14.2 "
23+ once_cell = " 1.18 .0"
2424enum-map = { version = " 2" , optional = true }
2525serde = { version = " 1" , optional = true , features = [" derive" ] }
2626arbitrary = { version = " 1" , optional = true , features = [" derive" ] }
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ mod tests {
143143 trigram_occurances,
144144 } = count ( & lowercase_text) ;
145145 for & ( trigram_str, expected_n) in pairs. iter ( ) {
146- let chars: Vec < char > = trigram_str. clone ( ) . chars ( ) . collect ( ) ;
146+ let chars: Vec < char > = trigram_str. chars ( ) . collect ( ) ;
147147 let trigram = Trigram ( chars[ 0 ] , chars[ 1 ] , chars[ 2 ] ) ;
148148 let actual_n = trigram_occurances[ & trigram] ;
149149 assert_eq ! (
You can’t perform that action at this time.
0 commit comments