Fix clippy lint warnings (#1004)

This commit is contained in:
Jack T 2025-01-13 10:07:53 -08:00 • committed by GitHub
parent f33d1f1cc4
commit 55a207a275
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 69 additions and 76 deletions

View file

@ -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(