Skip to content

Commit 616b1fb

Browse files
authored
style: include: no_effect_underscore_binding (#763)
1 parent 70b20f2 commit 616b1fb

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ module_name_repetitions = { level = "allow", priority = 1 }
6161
must_use_candidate = { level = "allow", priority = 1 }
6262
needless_for_each = { level = "allow", priority = 1 }
6363
needless_pass_by_value = { level = "allow", priority = 1 }
64-
no_effect_underscore_binding = { level = "allow", priority = 1 }
6564
range_plus_one = { level = "allow", priority = 1 }
6665
redundant_closure_for_method_calls = { level = "allow", priority = 1 }
6766
redundant_else = { level = "allow", priority = 1 }

src/dynamic_programming/word_break.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ fn search(trie: &Trie<char, bool>, s: &str, start: usize, memo: &mut Vec<Option<
2929
return res;
3030
}
3131

32-
let _node = trie;
3332
for end in start + 1..=s.len() {
3433
// Using trie.get to check if a substring is a word
3534
if trie.get(s[start..end].chars()).is_some() && search(trie, s, end, memo) {

0 commit comments

Comments
 (0)