fix link in std::path::Path::display()

The link `Debug` points to should be the trait `Debug`, not the macro `Debug`.
This commit is contained in:
Lucius Hu 2023-01-31 00:20:27 +00:00 committed by GitHub
parent 001a77fac3
commit 3c408d82a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2688,6 +2688,7 @@ pub fn iter(&self) -> Iter<'_> {
/// escapes the path please use [`Debug`] instead.
///
/// [`Display`]: fmt::Display
/// [`Debug`]: fmt::Debug
///
/// # Examples
///