We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ea17d2 commit dd684d1Copy full SHA for dd684d1
clippy_lints/src/format_args.rs
@@ -60,6 +60,10 @@ declare_clippy_lint! {
60
/// change in the future. `OsStr`s and `Path`s can be `Display` formatted
61
/// using their `display` methods.
62
///
63
+ /// Note that switching from `Debug` formatting to `Display` formatting
64
+ /// will change how the `OsStr` or `Path` is shown. Escaped characters will
65
+ /// no longer be escaped, and enclosing quotes (`"`...`"`) will be removed.
66
+ ///
67
/// ### Example
68
/// ```no_run
69
/// # use std::path::Path;
0 commit comments