From d0a8cc1da664a45e508fe27ab430b46daf1834b6 Mon Sep 17 00:00:00 2001 From: cchudant Date: Sat, 10 Jul 2021 16:36:34 +0200 Subject: [PATCH] std_misc/path.md: update `Show` to `Display` --- src/std_misc/path.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/std_misc/path.md b/src/std_misc/path.md index eb83df8e10..4b10cfa899 100644 --- a/src/std_misc/path.md +++ b/src/std_misc/path.md @@ -19,7 +19,7 @@ fn main() { // Create a `Path` from an `&'static str` let path = Path::new("."); - // The `display` method returns a `Show`able structure + // The `display` method returns a `Display`able structure let _display = path.display(); // `join` merges a path with a byte container using the OS specific