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 d5510cf commit fa30c49Copy full SHA for fa30c49
src/find/matchers/exec.rs
@@ -74,12 +74,13 @@ impl Matcher for SingleExecMatcher {
74
self.executable,
75
path_to_file.to_string_lossy()
76
);
77
+ #[allow(clippy::explicit_write)]
78
write!(stdout(), "{}", tips).unwrap();
79
stdout().flush().unwrap();
80
81
let mut input = String::new();
82
let _result = stdin().read_line(&mut input).unwrap();
- if !input.trim().contains("y") {
83
+ if !input.trim().contains('y') {
84
return false;
85
}
86
0 commit comments