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

@@ -2027,7 +2027,7 @@ impl LoginConfigHandler {
///
// It's Ok to check the option empty in this function.
// `toggle_option()` is only called in a session.
// Custom client advanced settings will not affact this function.
// Custom client advanced settings will not effect this function.
pub fn toggle_option(&mut self, name: String) -> Option<Message> {
let mut option = OptionMessage::default();
let mut config = self.load_config();
@@ -2302,7 +2302,7 @@ impl LoginConfigHandler {
///
// It's Ok to check the option empty in this function.
// `get_toggle_option()` is only called in a session.
// Custom client advanced settings will not affact this function.
// Custom client advanced settings will not effect this function.
pub fn get_toggle_option(&self, name: &str) -> bool {
if name == "show-remote-cursor" {
self.config.show_remote_cursor.v