Skip to content

Commit

Permalink
final clippy pass
Browse files Browse the repository at this point in the history
  • Loading branch information
actioninja committed Mar 23, 2023
1 parent 4d00879 commit 587a6ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions hypnagogic_cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ fn main() -> Result<()> {
}

/// Gnarly, effectful function hoisted out here so that I can still use ? but parallelize with rayon
#[allow(clippy::result_large_err)]
fn process_icon(
flatten: bool,
debug: bool,
Expand Down
3 changes: 3 additions & 0 deletions hypnagogic_core/src/operations/cutters/bitmask_slice.rs
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,9 @@ impl BitmaskSlice {
assembled
}

/// Generates debug outputs for bitmask slice
/// # Panics
/// Shouldn't panic, unless the passed in corners are malformed
#[must_use]
pub fn generate_debug_icons(&self, corners: &CornerPayload) -> Vec<NamedIcon> {
let mut out = vec![];
Expand Down

0 comments on commit 587a6ab

Please sign in to comment.