Skip to content

Commit 540c783

Browse files
committed
Fixed typo
1 parent 4aabbbd commit 540c783

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

secp256k1-sys/src/lib.rs

+2-2
Original file line numberDiff line numberDiff 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.
643643
fn 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.
651651
fn ptr_const_to_mut_cast<T>(ptr: *const T) -> *mut T {
652652
ptr as _

0 commit comments

Comments
 (0)