mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
style: remove unneeded cast.
This commit is contained in:
parent
42def5a011
commit
2d9c764e2c
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ impl Angle {
|
|||
/// quarter-turn for 225 degrees, for example.
|
||||
#[inline]
|
||||
pub fn radians64(&self) -> f64 {
|
||||
self.0 as f64 * RAD_PER_DEG as f64
|
||||
self.0 as f64 * RAD_PER_DEG
|
||||
}
|
||||
|
||||
/// Return the value in degrees.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue