std: add missing #[inline] annotation to the f64 neg method.

This was, somehow, missed by #8332.
This commit is contained in:
Sébastien Crozet 2013-09-21 00:23:49 +02:00
parent 2a706aab1c
commit 7cb0c6392b

View File

@ -307,6 +307,7 @@ impl Rem<f64,f64> for f64 {
}
#[cfg(not(test))]
impl Neg<f64> for f64 {
#[inline]
fn neg(&self) -> f64 { -*self }
}