From c1d42bf16d05ad57e0822abcff7fde5a82e2a5b4 Mon Sep 17 00:00:00 2001 From: Vitor Silvestri Date: Wed, 17 Mar 2021 23:14:01 -0300 Subject: [PATCH] Fix typo in rank docs --- src/rank.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rank.rs b/src/rank.rs index 4581fbf3..c96a11b0 100644 --- a/src/rank.rs +++ b/src/rank.rs @@ -44,7 +44,7 @@ impl Rank { Rank::from_index(self.to_index().wrapping_sub(1)) } - /// Go one file up. If impossible, wrap around. + /// Go one rank up. If impossible, wrap around. #[inline] pub fn up(&self) -> Rank { Rank::from_index(self.to_index() + 1)