fix warning and use implicit return here
This commit is contained in:
parent
71f5908806
commit
931d0c2600
1 changed files with 1 additions and 2 deletions
|
|
@ -1,6 +1,5 @@
|
|||
use std::path::{Path, PathBuf};
|
||||
use std::{env, fs};
|
||||
use std::vec::Vec;
|
||||
|
||||
fn main() {
|
||||
if let Some(git_sha) = read_git_sha() {
|
||||
|
|
@ -23,7 +22,7 @@ fn wasm_files_present() -> bool {
|
|||
"../lib/binding_web/tree-sitter.wasm",
|
||||
];
|
||||
|
||||
return paths.iter().all(|p| Path::new(p).exists())
|
||||
paths.iter().all(|p| Path::new(p).exists())
|
||||
}
|
||||
|
||||
fn read_git_sha() -> Option<String> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue