Skip to content

fix: resolve all clippy warnings#2

Merged
4ni1ak merged 1 commit intomainfrom
fix/clippy-warnings
Mar 21, 2026
Merged

fix: resolve all clippy warnings#2
4ni1ak merged 1 commit intomainfrom
fix/clippy-warnings

Conversation

@4ni1ak
Copy link
Copy Markdown
Owner

@4ni1ak 4ni1ak commented Mar 21, 2026

Summary

  • Remove unused PAM_AUTH_ERR constant and unused re-exports from pam/mod.rs
  • Implement Default trait for FaceStore instead of inherent default() method
  • Fix redundant closures: unwrap_or_else(|| fn())unwrap_or_else(fn)
  • Fix doc comment style in camera_test.rs

Test plan

  • CI passes (cargo clippy -- -D warnings clean)
  • All builds still succeed

- Remove unused PAM_AUTH_ERR constant and unused re-exports from pam/mod.rs
- Implement Default trait for FaceStore instead of inherent default() method
- Fix redundant closures: unwrap_or_else(|| fn()) → unwrap_or_else(fn)
- Fix doc comment style in camera_test.rs (/// → //! for crate-level docs)
@4ni1ak 4ni1ak merged commit 6cb9784 into main Mar 21, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant