@@ -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" ) ]
@@ -2290,7 +2290,7 @@ where
22902290/// used inside the `if const`.
22912291/// Note that the two arms of this `if` really each become their own function, which is why the
22922292/// macro supports setting attributes for those functions. The runtime function is always
2293- /// markes as `#[inline]`.
2293+ /// marked as `#[inline]`.
22942294///
22952295/// See [`const_eval_select()`] for the rules and requirements around that intrinsic.
22962296pub ( crate ) macro const_eval_select {
@@ -2530,7 +2530,7 @@ pub const unsafe fn const_deallocate(_ptr: *mut u8, _size: usize, _align: usize)
25302530/// Returns whether we should perform contract-checking at runtime.
25312531///
25322532/// This is meant to be similar to the ub_checks intrinsic, in terms
2533- /// of not prematurely commiting at compile-time to whether contract
2533+ /// of not prematurely committing at compile-time to whether contract
25342534/// checking is turned on, so that we can specify contracts in libstd
25352535/// and let an end user opt into turning them on.
25362536#[ rustc_const_unstable( feature = "contracts_internals" , issue = "128044" /* compiler-team#759 */ ) ]
0 commit comments