[repo] Format, clippy clean, FORMATS.md, the full crate table in DEPENDENCIES.md
This commit is contained in:
@@ -61,7 +61,7 @@ impl PageFrame {
|
||||
}
|
||||
|
||||
pub(crate) fn normalise_rotate(r: i64) -> u16 {
|
||||
(((r % 360) + 360) % 360 / 90 * 90) as u16
|
||||
(r.rem_euclid(360) / 90 * 90) as u16
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
||||
Reference in New Issue
Block a user