Skip to content

Commit

Permalink
style: remove unneeded cast.
Browse files Browse the repository at this point in the history
  • Loading branch information
emilio committed Oct 18, 2018
1 parent 42def5a commit 2d9c764
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/style/values/computed/angle.rs
Expand Up @@ -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.
Expand Down

0 comments on commit 2d9c764

Please sign in to comment.