We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc3143d commit 3b8786dCopy full SHA for 3b8786d
src/main.rs
@@ -92,7 +92,12 @@ fn main() {
92
let stdin = std::io::stdin();
93
let reader = BufReader::new(stdin.lock());
94
for line_result in reader.lines() {
95
- let candidate = line_result.unwrap().trim_end().to_string();
+ let candidate = match line_result {
96
+ Ok(line) => line.trim_end().to_string(),
97
+ Err(_) => {
98
+ continue;
99
+ }
100
+ };
101
// Ignore Pure English Path
102
if is_pure_english_path(&candidate) {
103
continue;
0 commit comments