Skip to content

Commit 650100d

Browse files
committed
auto merge of #9369 : sebcrozet/rust/f64_inline, r=thestinger
This was, somehow, missed by #8332.
2 parents 030fffa + 7cb0c63 commit 650100d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libstd/num/f64.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@ impl Rem<f64,f64> for f64 {
307307
}
308308
#[cfg(not(test))]
309309
impl Neg<f64> for f64 {
310+
#[inline]
310311
fn neg(&self) -> f64 { -*self }
311312
}
312313

0 commit comments

Comments
 (0)