Skip to content

Commit 26d07cd

Browse files
author
bors-servo
authored
Auto merge of #37 - pcwalton:clamp, r=Manishearth
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
2 parents 8e3ccb5 + 7136c16 commit 26d07cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app_unit.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ impl Au {
189189

190190
#[inline]
191191
fn clamp_self(&mut self) {
192-
*self = self.clamp()
192+
*self = Au::clamp(*self)
193193
}
194194

195195
#[inline]

0 commit comments

Comments
 (0)