Fixrs: Automatic refactoring for long absolute paths and clippy::absolute_paths
The Rust Programming Language Forum
Fixrs: Automatic refactoring for long absolute paths and clippy::absolute_paths
GitHub · crates.io When writing Rust or working with LLM-assisted completions, code often ends up with verbose absolute paths like wbase::convert::TICKS_PER_SECOND or std::sync::atomic::Ordering::Relaxed. Long paths clutter function bodies and consume precious LLM context tokens. While Clippy provides clippy::absolute_paths to catch these occurrences, cargo clippy --fix does not provide machine-applicable suggestions for it. In a reasonably sized codebase with dozens or hundreds of occurrence...
0 comments
No comments yet.