Skip to content

Commit

Permalink
Merge #2
Browse files Browse the repository at this point in the history
2: Fix CI after squashing the repository r=pietroalbini a=pietroalbini

There were Clippy lints to address, and I accidentally destroyed a submodule when squashing the repository.

Co-authored-by: Pietro Albini <pietro.albini@ferrous-systems.com>
  • Loading branch information
bors-ferrocene[bot] and pietroalbini authored May 20, 2024
2 parents a857789 + 03aff5d commit 9da6adb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/criticalup-core/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ impl State {
let manifest = canonicalize_or_err(manifest)?;
let mut inner = self.inner.borrow_mut();
let existing_installation_in_state_exists =
inner.repr.installations.get(installation_id).is_some();
inner.repr.installations.contains_key(installation_id);
let installation_path_on_disk_exists = config
.paths
.installation_dir
Expand Down
1 change: 0 additions & 1 deletion crates/criticalup-core/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ impl Sha256Hasher {
}
}

///
impl Hasher for Sha256Hasher {
/// This method is unreachable and here to appease the compiler, mandatory method.
fn finish(&self) -> u64 {
Expand Down
1 change: 1 addition & 0 deletions docs/shared
Submodule shared added at 52d376

0 comments on commit 9da6adb

Please sign in to comment.