Improve pasta copyability of merge_imports
deprecation message
Add double quotes around `Crate` so that it can be copied directly into a `Cargo.toml` file
This commit is contained in:
parent
75765f656e
commit
1ca3798d2c
1 changed files with 1 additions and 1 deletions
|
@ -409,7 +409,7 @@ macro_rules! create_config {
|
|||
if self.was_set().merge_imports() {
|
||||
eprintln!(
|
||||
"Warning: the `merge_imports` option is deprecated. \
|
||||
Use `imports_granularity=Crate` instead"
|
||||
Use `imports_granularity=\"Crate\"` instead"
|
||||
);
|
||||
if !self.was_set().imports_granularity() {
|
||||
self.imports_granularity.2 = if self.merge_imports() {
|
||||
|
|
Loading…
Reference in a new issue