about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2023-01-31 11:46:26 +0900
committerGitHub <noreply@github.com>2023-01-31 11:46:26 +0900
commit150340bafdcd48becbe612a0d4d5631efe23621c (patch)
tree9af40f607e246bf266f2fe084720948a72c2cc15
parente776a63956d99829cc55f02202eab632b694b54b (diff)
parent3c408d82a38e729fd2befea442633d726a02c56f (diff)
downloadrust-150340bafdcd48becbe612a0d4d5631efe23621c.tar.gz
rust-150340bafdcd48becbe612a0d4d5631efe23621c.zip
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`.
-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
     ///