@@ -459,7 +459,7 @@ pub const fn unlikely(b: bool) -> bool {
459459/// Therefore, implementations must not require the user to uphold
460460/// any safety invariants.
461461///
462- /// The public form of this instrinsic is [`core::hint::select_unpredictable`].
462+ /// The public form of this intrinsic is [`core::hint::select_unpredictable`].
463463/// However unlike the public form, the intrinsic will not drop the value that
464464/// is not selected.
465465#[ unstable( feature = "core_intrinsics" , issue = "none" ) ]
@@ -2295,7 +2295,7 @@ where
22952295/// used inside the `if const`.
22962296/// Note that the two arms of this `if` really each become their own function, which is why the
22972297/// macro supports setting attributes for those functions. The runtime function is always
2298- /// markes as `#[inline]`.
2298+ /// marked as `#[inline]`.
22992299///
23002300/// See [`const_eval_select()`] for the rules and requirements around that intrinsic.
23012301pub ( crate ) macro const_eval_select {
@@ -2535,7 +2535,7 @@ pub const unsafe fn const_deallocate(_ptr: *mut u8, _size: usize, _align: usize)
25352535/// Returns whether we should perform contract-checking at runtime.
25362536///
25372537/// This is meant to be similar to the ub_checks intrinsic, in terms
2538- /// of not prematurely commiting at compile-time to whether contract
2538+ /// of not prematurely committing at compile-time to whether contract
25392539/// checking is turned on, so that we can specify contracts in libstd
25402540/// and let an end user opt into turning them on.
25412541#[ rustc_const_unstable( feature = "contracts_internals" , issue = "128044" /* compiler-team#759 */ ) ]
0 commit comments