Found via `typos --hidden --format brief`
This commit is contained in:
Ang 2026-03-20 06:29:53 +08:00 committed by GitHub
parent 5d6731326e
commit 09d6726675
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -317,8 +317,8 @@ impl SubmodulesListPopup {
}
fn set_selection(&mut self, selection: u16) -> Result<()> {
let num_entriess: u16 = self.submodules.len().try_into()?;
let num_entries = num_entriess.saturating_sub(1);
let num_entries: u16 = self.submodules.len().try_into()?;
let num_entries = num_entries.saturating_sub(1);
let selection = if selection > num_entries {
num_entries