Another one
Some checks failed
Rust Build / Check (pull_request) Failing after 26s
Rust Build / Test Suite (pull_request) Failing after 28s
Rust Build / Rustfmt (pull_request) Failing after 25s
Rust Build / Clippy (pull_request) Failing after 26s
Rust Build / build (pull_request) Failing after 24s
Some checks failed
Rust Build / Check (pull_request) Failing after 26s
Rust Build / Test Suite (pull_request) Failing after 28s
Rust Build / Rustfmt (pull_request) Failing after 25s
Rust Build / Clippy (pull_request) Failing after 26s
Rust Build / build (pull_request) Failing after 24s
This commit is contained in:
@@ -244,16 +244,16 @@ mod embedded {
|
||||
file.read_to_end(&mut buffer)?;
|
||||
|
||||
if buffer.is_empty() {
|
||||
return Err(std::io::Error::new(
|
||||
Err(std::io::Error::new(
|
||||
std::io::ErrorKind::Other,
|
||||
"File is empty",
|
||||
));
|
||||
))
|
||||
} else {
|
||||
return Ok(buffer);
|
||||
Ok(buffer)
|
||||
}
|
||||
}
|
||||
Err(er) => {
|
||||
return Err(er);
|
||||
Err(er)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -62,7 +62,7 @@ impl Token {
|
||||
let extracted_token: String = String::from("Token");
|
||||
|
||||
if extracted_token == *des_scope {
|
||||
true
|
||||
return true;
|
||||
}
|
||||
|
||||
false
|
||||
|
Reference in New Issue
Block a user