Skip to content

Commit

Permalink
feat: mark CheckResult as must_use
Browse files Browse the repository at this point in the history
  • Loading branch information
backwardspy committed Oct 12, 2024
1 parent cad26a1 commit a1f55bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,7 @@ fn maybe_create_parents(filename: &Path) -> anyhow::Result<()> {
Ok(())
}

#[must_use]
enum CheckResult {
Pass,
Fail,
Expand Down

0 comments on commit a1f55bf

Please sign in to comment.