auto merge of #9369 : sebcrozet/rust/f64_inline, r=thestinger
This was, somehow, missed by #8332.
This commit is contained in:
commit
650100dfbf
|
@ -307,6 +307,7 @@ impl Rem<f64,f64> for f64 {
|
||||||
}
|
}
|
||||||
#[cfg(not(test))]
|
#[cfg(not(test))]
|
||||||
impl Neg<f64> for f64 {
|
impl Neg<f64> for f64 {
|
||||||
|
#[inline]
|
||||||
fn neg(&self) -> f64 { -*self }
|
fn neg(&self) -> f64 { -*self }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue