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] {
23212321 }
23222322
23232323 /// 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.
23252325 ///
23262326 /// If the value is found then [`Result::Ok`] is returned, containing the
23272327 /// 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 {
4444}
4545
4646// 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
4848// back to f32. While not precisely correct should be "correct enough" for now.
4949#[ cfg( all( target_env = "msvc" , target_arch = "x86" ) ) ]
5050mod shims {
You can’t perform that action at this time.
0 commit comments