Skip to content

Commit bc4c95f

Browse files
caseycalebcartwright
authored andcommitted
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
1 parent 71672f3 commit bc4c95f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/config/config_type.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ macro_rules! create_config {
409409
if self.was_set().merge_imports() {
410410
eprintln!(
411411
"Warning: the `merge_imports` option is deprecated. \
412-
Use `imports_granularity=Crate` instead"
412+
Use `imports_granularity=\"Crate\"` instead"
413413
);
414414
if !self.was_set().imports_granularity() {
415415
self.imports_granularity.2 = if self.merge_imports() {

0 commit comments

Comments
 (0)