avoid compiler warning
This commit is contained in:
parent
aa5a4060ab
commit
8f8d5a420c
|
@ -97,7 +97,7 @@ fn test_binary_search_tree() {
|
||||||
|
|
||||||
const MARKER: usize = 0xfffffff;
|
const MARKER: usize = 0xfffffff;
|
||||||
let mut output = vec![];
|
let mut output = vec![];
|
||||||
for i in 0..len { output.push(MARKER); }
|
for _i in 0..len { output.push(MARKER); }
|
||||||
copy_binary_search_tree(len, |s, d| {
|
copy_binary_search_tree(len, |s, d| {
|
||||||
assert!(output[d] == MARKER);
|
assert!(output[d] == MARKER);
|
||||||
output[d] = s;
|
output[d] = s;
|
||||||
|
|
Loading…
Reference in New Issue