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 3c98ee5 commit c8a6c7fCopy full SHA for c8a6c7f
clippy_lints/src/path_from_format.rs
@@ -20,7 +20,7 @@ declare_clippy_lint! {
20
/// use std::path::PathBuf;
21
///
22
/// let base_path = "dir";
23
- /// PathBuf::from(format!("{}/foo/bar", base_path));
+ /// PathBuf::from(format!("{}/foo/bar", base_path))
24
/// ```
25
/// Use instead:
26
/// ```rust
0 commit comments