Another warning fix
Some checks failed
Rust Build / Check (pull_request) Failing after 25s
Rust Build / Test Suite (pull_request) Failing after 26s
Rust Build / Rustfmt (pull_request) Successful in 25s
Rust Build / Clippy (pull_request) Failing after 27s
Rust Build / build (pull_request) Failing after 22s

This commit is contained in:
2025-03-21 22:04:40 -04:00
parent c4b52aa31a
commit e3ec08963d

View File

@@ -224,10 +224,10 @@ mod embedded {
return Ok(buffer); return Ok(buffer);
} else { } else {
return Err(std::io::Error::new( Err(std::io::Error::new(
std::io::ErrorKind::Other, std::io::ErrorKind::Other,
"Could not access last character of directory", "Could not access last character of directory",
)); ))
} }
} }
@@ -249,9 +249,7 @@ mod embedded {
Ok(buffer) Ok(buffer)
} }
} }
Err(er) => { Err(er) => Err(er),
Err(er)
}
} }
} }
} }