Skip to content

Commit a03bf3f

Browse files
authored
Rollup merge of rust-lang#72496 - shepmaster:typo, r=Dylan-DPC
Correct small typo: 'not' -> 'note'
2 parents e91897d + 749d9e7 commit a03bf3f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/libstd/f32.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,7 @@ impl f32 {
882882
/// Returns `max` if `self` is greater than `max`, and `min` if `self` is
883883
/// less than `min`. Otherwise this returns `self`.
884884
///
885-
/// Not that this function returns NaN if the initial value was NaN as
885+
/// Note that this function returns NaN if the initial value was NaN as
886886
/// well.
887887
///
888888
/// # Panics

src/libstd/f64.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,7 @@ impl f64 {
884884
/// Returns `max` if `self` is greater than `max`, and `min` if `self` is
885885
/// less than `min`. Otherwise this returns `self`.
886886
///
887-
/// Not that this function returns NaN if the initial value was NaN as
887+
/// Note that this function returns NaN if the initial value was NaN as
888888
/// well.
889889
///
890890
/// # Panics

0 commit comments

Comments
 (0)