lint: clippy
This commit is contained in:
parent
06a2bc13d8
commit
e25c9baa66
1 changed files with 1 additions and 2 deletions
3
mute-interpreter/src/env/core.rs
vendored
3
mute-interpreter/src/env/core.rs
vendored
|
@ -165,8 +165,7 @@ pub(super) fn core() -> HashMap<String, Value> {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
let list =
|
let list = VecDeque::from_iter((min..(max + 1)).map(|i| Node::Int(i as i64)));
|
||||||
VecDeque::from_iter((min..(max + 1)).into_iter().map(|i| Node::Int(i as i64)));
|
|
||||||
|
|
||||||
Node::List(list)
|
Node::List(list)
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Reference in a new issue