Commit 1770693 1 parent 85fc39c commit 1770693 Copy full SHA for 1770693
File tree 4 files changed +4
-4
lines changed
compiler/rustc_codegen_cranelift/src/intrinsics
4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1442,7 +1442,7 @@ Compatibility Notes
1442
1442
- [Mixing Option and Result via `?` is no longer permitted in closures for inferred types.][86831]
1443
1443
- [Previously unsound code is no longer permitted where different constructors in branches
1444
1444
could require different lifetimes.][85574]
1445
- - As previously mentioned the [`std::arch` intrinsic now uses stricter const checking][83278]
1445
+ - As previously mentioned the [`std::arch` intrinsics now uses stricter const checking][83278]
1446
1446
than before and may reject some previously accepted code.
1447
1447
- [`i128` multiplication on Cortex M0+ platforms currently unconditionally causes overflow
1448
1448
when compiled with `codegen-units = 1`.][86063]
Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ pub(crate) fn codegen_intrinsic_call<'tcx>(
203
203
sym:: transmute => {
204
204
crate :: base:: codegen_panic ( fx, "Transmuting to uninhabited type." , source_info) ;
205
205
}
206
- _ => unimplemented ! ( "unsupported intrinsics {}" , intrinsic) ,
206
+ _ => unimplemented ! ( "unsupported intrinsic {}" , intrinsic) ,
207
207
}
208
208
return ;
209
209
} ;
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