Skip to content

Commit

Permalink
Auto merge of #37 - pcwalton:clamp, r=Manishearth
Browse files Browse the repository at this point in the history
Explicitly invoke `Au::clamp()` to avoid colliding with the unstable Rust library method of the same name.

Fixes breakage from rust-lang/rust#44095.

r? @Manishearth
  • Loading branch information
bors-servo committed Sep 8, 2017
2 parents 8e3ccb5 + 7136c16 commit 26d07cd
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 26d07cd

Please sign in to comment.