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

View File

@@ -2688,6 +2688,7 @@ impl Path {
/// escapes the path please use [`Debug`] instead.
///
/// [`Display`]: fmt::Display
/// [`Debug`]: fmt::Debug
///
/// # Examples
///