From 3c8a32b693c535c42a56978ccc3e47348ca11a6b Mon Sep 17 00:00:00 2001 From: Brian Donovan <1938+eventualbuddha@users.noreply.github.com> Date: Sun, 27 Jul 2025 05:38:54 -0700 Subject: [PATCH] docs: fix a couple typos --- src/detect.rs | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/detect.rs b/src/detect.rs index 6a2ace5..216f8e0 100644 --- a/src/detect.rs +++ b/src/detect.rs @@ -223,7 +223,7 @@ where ) => { let ratio = stone_count * 100 / ring_count; // Verify that left is connected to right, and that stone is not connected - // Also that the pixel counts roughly repsect the 37.5% ratio + // Also that the pixel counts roughly respect the 37.5% ratio ring_color != stone_color && 10 < ratio && ratio < 70 } _ => false, diff --git a/src/lib.rs b/src/lib.rs index dc1c314..8198dc0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -104,7 +104,7 @@ where /// Try to decode the grid. /// - /// Instead of returning a String, this methode writes the decoded result to + /// Instead of returning a String, this method writes the decoded result to /// the given writer /// /// **Warning**: This may lead to half decoded content to be written to the