mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 11:34:11 +00:00
std: add missing #[inline] annotation to the f64 neg method.
This was, somehow, missed by #8332.
This commit is contained in:
parent
2a706aab1c
commit
7cb0c6392b
@ -307,6 +307,7 @@ impl Rem<f64,f64> for f64 {
|
||||
}
|
||||
#[cfg(not(test))]
|
||||
impl Neg<f64> for f64 {
|
||||
#[inline]
|
||||
fn neg(&self) -> f64 { -*self }
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user