From 540c783210ef94727b55aff2597fa2390ccb288d Mon Sep 17 00:00:00 2001 From: Martin Habovstiak Date: Mon, 10 Jan 2022 15:28:07 +0100 Subject: [PATCH] Fixed typo --- secp256k1-sys/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/secp256k1-sys/src/lib.rs b/secp256k1-sys/src/lib.rs index 24c41d3e0..69d566803 100644 --- a/secp256k1-sys/src/lib.rs +++ b/secp256k1-sys/src/lib.rs @@ -638,7 +638,7 @@ fn abort_fallback(message: impl core::fmt::Display) -> ! { /// Ensures that types both sides of cast stay in sync and only the constness changes. /// -/// This elliminates the risk that if we change the type signature of abort handler the cast +/// This eliminates the risk that if we change the type signature of abort handler the cast /// silently converts the types and causes UB. fn ptr_mut_to_const_cast(ptr: *mut T) -> *const T { ptr as _ @@ -646,7 +646,7 @@ fn ptr_mut_to_const_cast(ptr: *mut T) -> *const T { /// Ensures that types both sides of cast stay in sync and only the constness changes. /// -/// This elliminates the risk that if we change the type signature of abort handler the cast +/// This eliminates the risk that if we change the type signature of abort handler the cast /// silently converts the types and causes UB. fn ptr_const_to_mut_cast(ptr: *const T) -> *mut T { ptr as _