Skip to content

Commit

Permalink
Fix two clippy issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
nfachan committed Dec 11, 2024
1 parent 2ef14b9 commit eda04f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/maelstrom-client-process/src/preparer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ impl<DepsT: Deps> Preparer<DepsT> {
ImageEntry::Getting(waiting) => match &result {
Ok(image) => {
for ijid in waiting {
self.got_image_success(ijid, &image);
self.got_image_success(ijid, image);
}
}
Err(err) => {
Expand Down Expand Up @@ -259,7 +259,7 @@ impl<DepsT: Deps> Preparer<DepsT> {
deps: &DepsT,
layer_builds: &mut LayerBuilds,
layer_map: &mut HashMap<LayerSpec, LayerEntry<DepsT>>,
layers: &Vec<LayerSpec>,
layers: &[LayerSpec],
ijid: u64,
image: bool,
) -> Result<Vec<Option<(Sha256Digest, ArtifactType)>>, DepsT::Error> {
Expand Down

0 comments on commit eda04f6

Please sign in to comment.