From f3a318c3f925b4d53658179ff881ead3a4bdfe4e Mon Sep 17 00:00:00 2001 From: wizard <112275929+famouswizard@users.noreply.github.com> Date: Tue, 4 Nov 2025 15:24:13 +0300 Subject: [PATCH] =?UTF-8?q?chore:=20use=20correct=20spelling=20for=20?= =?UTF-8?q?=E2=80=9Cinfallible=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- serialize/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/serialize/src/lib.rs b/serialize/src/lib.rs index c0a945c33..d84be519c 100644 --- a/serialize/src/lib.rs +++ b/serialize/src/lib.rs @@ -268,14 +268,14 @@ pub trait CanonicalSerializeHashExt: CanonicalSerialize { fn hash(&self) -> Output { let mut hasher = H::new(); self.serialize_compressed(HashMarshaller(&mut hasher)) - .expect("HashMarshaller::flush should be infaillible!"); + .expect("HashMarshaller::flush should be infallible!"); hasher.finalize() } fn hash_uncompressed(&self) -> Output { let mut hasher = H::new(); self.serialize_uncompressed(HashMarshaller(&mut hasher)) - .expect("HashMarshaller::flush should be infaillible!"); + .expect("HashMarshaller::flush should be infallible!"); hasher.finalize() } }