mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
Change tracking issue
This commit is contained in:
parent
d8e247e38c
commit
525d76026f
@ -901,7 +901,7 @@ impl f32 {
|
||||
///
|
||||
/// [finite]: #method.is_finite
|
||||
#[must_use = "method returns a new number and does not mutate the original value"]
|
||||
#[unstable(feature = "float_interpolation", issue = "71015")]
|
||||
#[unstable(feature = "float_interpolation", issue = "86269")]
|
||||
pub fn lerp(self, start: f32, end: f32) -> f32 {
|
||||
// consistent
|
||||
if start == end {
|
||||
|
@ -903,7 +903,7 @@ impl f64 {
|
||||
///
|
||||
/// [finite]: #method.is_finite
|
||||
#[must_use = "method returns a new number and does not mutate the original value"]
|
||||
#[unstable(feature = "float_interpolation", issue = "71015")]
|
||||
#[unstable(feature = "float_interpolation", issue = "86269")]
|
||||
pub fn lerp(self, start: f64, end: f64) -> f64 {
|
||||
// consistent
|
||||
if start == end {
|
||||
|
Loading…
Reference in New Issue
Block a user