File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2321,7 +2321,7 @@ impl<T> [T] {
2321
2321
}
2322
2322
2323
2323
/// Binary searches this slice for a given element.
2324
- /// This behaves similar to [`contains`] if this slice is sorted.
2324
+ /// This behaves similarly to [`contains`] if this slice is sorted.
2325
2325
///
2326
2326
/// If the value is found then [`Result::Ok`] is returned, containing the
2327
2327
/// index of the matching element. If there are multiple matches, then any
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ mod shims {
44
44
}
45
45
46
46
// On 32-bit x86 MSVC these functions aren't defined, so we just define shims
47
- // which promote everything for f64, perform the calculation, and then demote
47
+ // which promote everything to f64, perform the calculation, and then demote
48
48
// back to f32. While not precisely correct should be "correct enough" for now.
49
49
#[ cfg( all( target_env = "msvc" , target_arch = "x86" ) ) ]
50
50
mod shims {
You can’t perform that action at this time.
0 commit comments