Skip to content

Commit

Permalink
chore: fix Clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
koehlma committed May 8, 2024
1 parent cc9c200 commit aaed2e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion crates/rugpi-bakery/src/bake/customize.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ fn recipe_schedule(
fn apply_recipes(
project: &Project,
arch: Architecture,
jobs: &Vec<RecipeJob>,
jobs: &[RecipeJob],
root_dir_path: &Path,
layer_path: &Path,
) -> Anyhow<()> {
Expand Down
1 change: 1 addition & 0 deletions crates/rugpi-bakery/src/project/library.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ pub struct Library {
}

impl Library {
#[allow(clippy::assigning_clones)]
pub fn load(repositories: Arc<ProjectRepositories>) -> Anyhow<Self> {
let mut recipes = IdxVec::new();
let tables = IdxVec::<RepositoryIdx, _>::from_vec(
Expand Down

0 comments on commit aaed2e2

Please sign in to comment.