File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 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) -> ! {
638638
639639/// Ensures that types both sides of cast stay in sync and only the constness changes.
640640///
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
642642/// silently converts the types and causes UB.
643643fn ptr_mut_to_const_cast < T > ( ptr : * mut T ) -> * const T {
644644 ptr as _
645645}
646646
647647/// Ensures that types both sides of cast stay in sync and only the constness changes.
648648///
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
650650/// silently converts the types and causes UB.
651651fn ptr_const_to_mut_cast < T > ( ptr : * const T ) -> * mut T {
652652 ptr as _
You can’t perform that action at this time.
0 commit comments