From 3c408d82a38e729fd2befea442633d726a02c56f Mon Sep 17 00:00:00 2001 From: Lucius Hu <1222865+lebensterben@users.noreply.github.com> Date: Tue, 31 Jan 2023 00:20:27 +0000 Subject: [PATCH] fix link in std::path::Path::display() The link `Debug` points to should be the trait `Debug`, not the macro `Debug`. --- library/std/src/path.rs | 1 + 1 file changed, 1 insertion(+) 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 ///