Skip to content

allanbrondum/cargo-safefix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Like cargo clippy --fix (or cargo fix), but fix only issues that cannot be a sign of code errors.

The automatic fixes for a number of clippy warnings can silence potential coding errors, e.g. unused variables. In many cases the warnings are a symptom of a deeper error that cannot be automatically fixed. The purpose of this tool is to fix warnings without the need to inspect the changes performed by the tool. This is done by restricting the list of compiler and clippy warnings that are fixed. The warnings fixed are listed in fix.txt.

Install with

cargo install --locked --git https://github.com/allanbrondum/cargo-safefix.git

About

Fix only warnings that are "safe" to fix

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages