lint: clippy

This commit is contained in:
Roman Godmaire 2024-05-14 14:21:18 -04:00
parent 06a2bc13d8
commit e25c9baa66

View file

@ -165,8 +165,7 @@ pub(super) fn core() -> HashMap<String, Value> {
}
};
let list =
VecDeque::from_iter((min..(max + 1)).into_iter().map(|i| Node::Int(i as i64)));
let list = VecDeque::from_iter((min..(max + 1)).map(|i| Node::Int(i as i64)));
Node::List(list)
}),