Fixed warnings

This commit is contained in:
Fayeed Pawaskar
2023-07-24 12:41:56 +05:30
parent 1dcc1ca524
commit 7248425a76
5 changed files with 4 additions and 5 deletions

View File

@@ -381,7 +381,7 @@ pub(crate) fn rnd_i<'a>(n: &'a Number, arena: &mut Arena) -> Number {
}
}
&Number::Rational(ref r) => {
let (mut fract, mut floor) = (r.fract(), r.floor());
let (_, floor) = (r.fract(), r.floor());
if let Some(floor) = floor.to_i64() {
fixnum!(Number, floor, arena)