replace_with 0.1.7

Temporarily take ownership of a value at a mutable location, and replace it with a new value based on the old one.
Documentation
1
2
3
4
5
6
7
8
9
hard_tabs = true
imports_layout = "Horizontal"
merge_imports = true
fn_args_layout = "Compressed"
use_field_init_shorthand = true

# To enable when stable
# wrap_comments = true # https://github.com/rust-lang/rustfmt/issues/3347
# reorder_impl_items = true # https://github.com/rust-lang/rustfmt/issues/3363