You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Comprehensive cleanup of clippy warnings and code formatting across
the entire codebase. All production code (lib + bins) now compiles
with zero warnings.
## Main Codebase Improvements
- Replace manual range checks with idiomatic .contains()
- Use .ok_or() instead of unnecessary closures
- Remove needless reference operators in comparisons
- Modernize map_or patterns to .is_some_and()
- Replace .get(0) with more idiomatic .first()
- Improve loop patterns with direct iteration
- Use .strip_prefix() instead of manual string slicing
- Add type aliases for complex nested types
- Use struct update syntax for field initialization
- Change &PathBuf to &Path in function parameters
- Fix logic bug with #[allow] attribute for disabled code
- Add missing imports (serde_json::json, std::path::Path)
- Remove empty lines after outer attributes
## Test Code Improvements
- Update deprecated assert_cmd::Command::cargo_bin usage
- Replace useless .as_ref() calls with direct dereference
- Clean up unused imports in test files
- Add #[allow(deprecated)] where needed for compatibility
- Format all test code to rustfmt standards
## Files Modified
- 8 stdlib files in crates/ovsm/src/tools/stdlib/
- 1 core OVSM evaluator (lisp_evaluator.rs)
- 10 main service files
- 3 command handlers
- 14 test files
- 1 example file
## Results
✅ Library + Binary: 0 warnings
✅ Release Build: 0 warnings
✅ All Tests: 457 passed
✅ Formatting: 100% compliant
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
0 commit comments