about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLucius Hu <1222865+lebensterben@users.noreply.github.com>2023-01-31 00:20:27 +0000
committerGitHub <noreply@github.com>2023-01-31 00:20:27 +0000
commit3c408d82a38e729fd2befea442633d726a02c56f (patch)
treeebe4f7d3f1ef6ee33f717cb67ae136c5ea3919b6
parent001a77fac33f6560ff361ff38f661ff5f1c6bf85 (diff)
downloadrust-3c408d82a38e729fd2befea442633d726a02c56f.tar.gz
rust-3c408d82a38e729fd2befea442633d726a02c56f.zip
fix link in std::path::Path::display()
The link `Debug` points to should be the trait `Debug`, not the macro `Debug`.
-rw-r--r--library/std/src/path.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/path.rs b/library/std/src/path.rs
index 2f53cf83936..e36e088896d 100644
--- a/library/std/src/path.rs
+++ b/library/std/src/path.rs
@@ -2688,6 +2688,7 @@ impl Path {
     /// escapes the path please use [`Debug`] instead.
     ///
     /// [`Display`]: fmt::Display
+    /// [`Debug`]: fmt::Debug
     ///
     /// # Examples
     ///