Rust Idiom Cleanup
On this page
Context
A strict Rust idiom audit identified patterns across the codebase that can be tightened. All changes are mechanical and behavior-preserving.
Scope
| Category | Description | Count | Files |
|---|---|---|---|
|
Add panic context to infallible unwraps in production code |
6 sites |
4 files |
|
Change |
3 clones |
|
SDK builder |
Use idiomatic conversion for |
26 methods |
|
CLI |
Use idiomatic borrow-to-owned conversion |
53 sites |
18 CLI command files |
CLI type annotation removal |
Remove redundant |
18 sites |
Same 18 CLI files |
Collection type simplification |
|
3 sites |
|