This repository was archived by the owner on Nov 24, 2023. It is now read-only.
  
  
  
  
  
Description
For example, if I have
#[cfg(unix)]
extern crate nix;
mod foo;
and then run cargo fix --edition-idioms, currently only the extern crate nix; line gets deleted, which makes the #[cfg(unix)] attribute apply to mod foo;, which is not what was intended.
I'm currently using cargo-fix v0.4.1  from crates.io.