Skip to content

Commit 0e8f0a6

Browse files
committed
fmt
1 parent c7778ee commit 0e8f0a6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clippy_lints/src/path_from_format.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
use clippy_utils::diagnostics::{span_lint_and_sugg, span_lint_and_help};
1+
use clippy_utils::diagnostics::{span_lint_and_help, span_lint_and_sugg};
2+
use clippy_utils::macros::{root_macro_call, FormatArgsExpn};
23
use clippy_utils::source::snippet_with_applicability;
34
use clippy_utils::ty::is_type_diagnostic_item;
4-
use clippy_utils::macros::{root_macro_call, FormatArgsExpn};
55
use rustc_errors::Applicability;
66
use rustc_hir::{Expr, ExprKind};
77
use rustc_lint::{LateContext, LateLintPass};
@@ -62,7 +62,7 @@ impl<'tcx> LateLintPass<'tcx> for PathFromFormat {
6262
"`format!(..)` used to form `PathBuf`",
6363
None,
6464
"consider using `.join()` to avoid the extra allocation",
65-
);
65+
);
6666
return;
6767
}
6868
let sugg = {

0 commit comments

Comments
 (0)