Documentation
README
RTK Code Simplifier
Review and simplify Rust code in RTK while respecting the project's constraints.
Constraints (never simplify away)
LazyLockregex โ cannot be moved inside functions even if "simpler".context()on every?โ verbose but mandatory- Fallback to raw command โ never remove even if it looks like dead code
- Exit code propagation โ never simplify to
Ok(()) #[cfg(test)] mod testsโ never remove test modules
Simplification Patterns
1. Iterator chains over manual loops
This is the opening of the README. Read the full README on GitHub.