fix: typos in src/ and subdirectories (#11727)

Found via codespell
This commit is contained in:
luzpaz
2025-09-17 01:37:44 -04:00
committed by GitHub
parent 3176391693
commit e14e850e10
10 changed files with 14 additions and 14 deletions

View File

@@ -1980,7 +1980,7 @@ pub(super) fn session_update_virtual_display(session: &FlutterSession, index: i3
let mut vdisplays = displays.split(',').collect::<Vec<_>>();
let len = vdisplays.len();
if index == 0 {
// 0 means we cann't toggle the virtual display by index.
// 0 means we can't toggle the virtual display by index.
vdisplays.remove(vdisplays.len() - 1);
} else {
if let Some(i) = vdisplays.iter().position(|&x| x == index.to_string()) {