mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
clippy: Fix missing indentation in comments and remove on unecessary cast (#33026)
* Add missing indendations in comments. Signed-off-by: Daniel Frantes <danfrantes@seznam.cz> * Fix test tidy error Signed-off-by: Daniel Frantes <danfrantes@seznam.cz> --------- Signed-off-by: Daniel Frantes <danfrantes@seznam.cz>
This commit is contained in:
parent
ea5cf75169
commit
5d6840873a
4 changed files with 5 additions and 6 deletions
|
@ -107,8 +107,7 @@ impl XRInputSource {
|
||||||
.map_and_normalize_buttons(i as usize, *value as f64);
|
.map_and_normalize_buttons(i as usize, *value as f64);
|
||||||
});
|
});
|
||||||
frame.axis_values.iter().enumerate().for_each(|(i, value)| {
|
frame.axis_values.iter().enumerate().for_each(|(i, value)| {
|
||||||
self.gamepad
|
self.gamepad.map_and_normalize_axes(i, *value as f64);
|
||||||
.map_and_normalize_axes(i as usize, *value as f64);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue