Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/detect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading