File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -638,15 +638,15 @@ fn abort_fallback(message: impl core::fmt::Display) -> ! {
638
638
639
639
/// Ensures that types both sides of cast stay in sync and only the constness changes.
640
640
///
641
- /// This elliminates the risk that if we change the type signature of abort handler the cast
641
+ /// This eliminates the risk that if we change the type signature of abort handler the cast
642
642
/// silently converts the types and causes UB.
643
643
fn ptr_mut_to_const_cast < T > ( ptr : * mut T ) -> * const T {
644
644
ptr as _
645
645
}
646
646
647
647
/// Ensures that types both sides of cast stay in sync and only the constness changes.
648
648
///
649
- /// This elliminates the risk that if we change the type signature of abort handler the cast
649
+ /// This eliminates the risk that if we change the type signature of abort handler the cast
650
650
/// silently converts the types and causes UB.
651
651
fn ptr_const_to_mut_cast < T > ( ptr : * const T ) -> * mut T {
652
652
ptr as _
You can’t perform that action at this time.
0 commit comments