Commit 7bf676c
fix: allow unwrap() in cipher test code for cleaner assertions
Add #[allow(clippy::unwrap_used)] attribute to the cipher test module to
permit unwrap() calls in test code while maintaining strict safety in
production code.
This follows Rust best practices where:
- Production code remains panic-free (no unwrap/expect/panic)
- Test code can use unwrap() for fail-fast behavior and cleaner assertions
- Tests are meant to panic immediately when assumptions are violated
All clippy warnings about unwrap usage are now resolved while preserving
test readability and maintaining security guidelines for production code.1 parent 38d81d1 commit 7bf676c
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
645 | 645 | | |
646 | 646 | | |
647 | 647 | | |
| 648 | + | |
648 | 649 | | |
649 | 650 | | |
650 | 651 | | |
| |||
0 commit comments