mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 03:36:06 +00:00
Fix clippy lint warnings (#1004)
This commit is contained in:
parent
f33d1f1cc4
commit
55a207a275
18 changed files with 69 additions and 76 deletions
|
|
@ -230,7 +230,7 @@ impl Project {
|
|||
io::ErrorKind::NotFound => Error::NoProjectFound {
|
||||
path: project_path.to_path_buf(),
|
||||
},
|
||||
_ => return e.into(),
|
||||
_ => e.into(),
|
||||
})?;
|
||||
|
||||
Ok(Some(Self::load_from_slice(&contents, project_path, None)?))
|
||||
|
|
@ -250,7 +250,7 @@ impl Project {
|
|||
io::ErrorKind::NotFound => Error::NoProjectFound {
|
||||
path: project_path.to_path_buf(),
|
||||
},
|
||||
_ => return e.into(),
|
||||
_ => e.into(),
|
||||
})?;
|
||||
|
||||
Ok(Self::load_from_slice(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue