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
Refactor: Replace redundant error mappings, update iter handling, and improve type safety
- Simplified repetitive `.map_err(|e| Error::X(e))` patterns using direct `Error::X`.
- Replaced manual iteration bounds with `.iter()` and `iter().take(..).flatten()` for clarity.
- Updated struct and enum defaults using `#[derive(Default)]` and `#[default]` attributes.
- Boxed large structs (`Box<LocalSandbox>` etc.) to optimize memory usage.
- Applied additional Clippy allowances (`#[allow(clippy::too_many_arguments, clippy::type_complexity)]`) for select modules.
- Migrated to new iterator patterns and conforming ranges (`a..b` replaced with `.contains(&x)` logic).
0 commit comments