uppercase

This commit is contained in:
Robin Appelman 2024-12-11 20:50:35 +01:00
commit d23bc84910

View file

@ -54,7 +54,7 @@ impl WifiLister {
Ok(s.lines() Ok(s.lines()
.filter(|s| s.starts_with("Station")) .filter(|s| s.starts_with("Station"))
.filter_map(|s| s.split(' ').nth(1)) .filter_map(|s| s.split(' ').nth(1))
.map(String::from) .map(str::to_ascii_uppercase)
.collect()) .collect())
} }
} }