We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 26c9084 + eab044d commit ed04325Copy full SHA for ed04325
xtask/src/pipe.rs
@@ -93,6 +93,7 @@ fn windows_open_pipe(path: &Path) -> Result<File> {
93
match OpenOptions::new().read(true).write(true).open(path) {
94
Ok(file) => return Ok(file),
95
Err(err) => {
96
+ #[allow(clippy::needless_return_with_question_mark)]
97
if attempt >= max_attempts {
98
return Err(err)?;
99
} else {
0 commit comments