Skip to content

Commit 5e02277

Browse files
committed
fix unused variable warning
1 parent 6788245 commit 5e02277

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/range_map.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ mod tests {
281281
.map(|&t| t).collect::<Vec<_>>(), vec![19, 19]);
282282

283283
// A NOP `iter_mut` should trigger merging.
284-
for x in map.iter_mut(Size::from_bytes(15), Size::from_bytes(5)) { }
284+
for _ in map.iter_mut(Size::from_bytes(15), Size::from_bytes(5)) { }
285285
assert_eq!(map.v.len(), 5);
286286
assert_eq!(
287287
to_vec(&map, 10, 10),

0 commit comments

Comments
 (0)