Skip to content

Commit

Permalink
Explicitly invoke Au::clamp() to avoid colliding with the unstable …
Browse files Browse the repository at this point in the history
…Rust library method of the

same name.

Fixes breakage from rust-lang/rust#44095.
  • Loading branch information
pcwalton committed Sep 8, 2017
1 parent 8e3ccb5 commit 7136c16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app_unit.rs
Expand Up @@ -189,7 +189,7 @@ impl Au {

#[inline]
fn clamp_self(&mut self) {
*self = self.clamp()
*self = Au::clamp(*self)
}

#[inline]
Expand Down

0 comments on commit 7136c16

Please sign in to comment.