Skip to content

Commit 3c408d8

Browse files
authored
fix link in std::path::Path::display()
The link `Debug` points to should be the trait `Debug`, not the macro `Debug`.
1 parent 001a77f commit 3c408d8

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)