Skip to content

Commit 150340b

Browse files
authored
Rollup merge of #107494 - lebensterben:patch-1, r=JohnTitor
fix link in std::path::Path::display() The link `Debug` points to should be the trait `Debug`, not the macro `Debug`.
2 parents e776a63 + 3c408d8 commit 150340b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/std/src/path.rs

+1
Original file line numberDiff line numberDiff line change
@@ -2688,6 +2688,7 @@ impl Path {
26882688
/// escapes the path please use [`Debug`] instead.
26892689
///
26902690
/// [`Display`]: fmt::Display
2691+
/// [`Debug`]: fmt::Debug
26912692
///
26922693
/// # Examples
26932694
///

0 commit comments

Comments
 (0)