]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #9369 : sebcrozet/rust/f64_inline, r=thestinger
authorbors <bors@rust-lang.org>
Sat, 21 Sep 2013 13:05:56 +0000 (06:05 -0700)
committerbors <bors@rust-lang.org>
Sat, 21 Sep 2013 13:05:56 +0000 (06:05 -0700)
This was, somehow, missed by #8332.

src/libstd/num/f64.rs

index 826102cd43402e03ab05d9b41eef29916941c21a..f7c31c4025049b80a075b60d20b62ad60b402895 100644 (file)
@@ -307,6 +307,7 @@ fn rem(&self, other: &f64) -> f64 { *self % *other }
 }
 #[cfg(not(test))]
 impl Neg<f64> for f64 {
+    #[inline]
     fn neg(&self) -> f64 { -*self }
 }