avoid compiler warning

This commit is contained in:
Dietmar Maurer 2019-02-11 15:12:01 +01:00
parent aa5a4060ab
commit 8f8d5a420c
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ fn test_binary_search_tree() {
const MARKER: usize = 0xfffffff;
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| {
assert!(output[d] == MARKER);
output[d] = s;