Skip to content

Commit 1401c8f

Browse files
committed
docs
1 parent 15bf02c commit 1401c8f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

clippy_lints/src/path_from_format.rs

+4
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ declare_clippy_lint! {
1616
/// ### Why is this bad?
1717
/// It is not OS-agnostic, and can be harder to read.
1818
///
19+
/// ### Known Problems
20+
/// `.join()` introduces additional allocations that are not present when `Pathbuf::push` is
21+
/// used instead.
22+
///
1923
/// ### Example
2024
/// ```rust
2125
/// use std::path::PathBuf;

0 commit comments

Comments
 (0)