Skip to content

Commit

Permalink
Improve pasta copyability of merge_imports deprecation message
Browse files Browse the repository at this point in the history
Add double quotes around `Crate` so that it can be copied directly into a `Cargo.toml` file
  • Loading branch information
casey authored and calebcartwright committed Jul 26, 2021
1 parent 75765f6 commit 1ca3798
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/config_type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 1ca3798

Please sign in to comment.