From 9491c2a80d376f997e68e5556c8ab38c73c9c641 Mon Sep 17 00:00:00 2001 From: wangjingcun Date: Thu, 7 Nov 2024 21:25:03 +0800 Subject: [PATCH] sha1-checked: fix some typos in comments (#625) --- sha1-checked/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sha1-checked/src/lib.rs b/sha1-checked/src/lib.rs index 8d218943..ee4ead8d 100644 --- a/sha1-checked/src/lib.rs +++ b/sha1-checked/src/lib.rs @@ -129,9 +129,9 @@ impl Sha1 { pub enum CollisionResult { /// No collision. Ok(Output), - /// Collision occured, but was mititgated. + /// Collision occurred, but was mititgated. Mitigated(Output), - /// Collision occured, the hash is the one that collided. + /// Collision occurred, the hash is the one that collided. Collision(Output), }