]> git.lizzy.rs Git - rust.git/commit
cargo-fmt: Take into account the edition for each target
authorOtavio Salvador <otavio@ossystems.com.br>
Tue, 23 Oct 2018 05:33:46 +0000 (02:33 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 24 Oct 2018 13:01:08 +0000 (10:01 -0300)
commitde0b661bfa7646b1c871b3b10de2672cd911e6d0
treecb0a5d82d8f4c1d6f96f17f486a4835cdc715f03
parente41fcb137cc28c2d0ec6d81eec802ab8cb0a9f61
cargo-fmt: Take into account the edition for each target

When formatting the crate, with `cargo fmt`, it parses each target
with the specific Rust edition.

Fixes: #3104.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
src/cargo-fmt/main.rs