diff options
| -rw-r--r-- | library/std/src/path.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/path.rs b/library/std/src/path.rs index 79944d82fea..29cd209e702 100644 --- a/library/std/src/path.rs +++ b/library/std/src/path.rs @@ -2481,7 +2481,7 @@ impl Path { /// /// ```no_run /// use std::path::Path; - /// assert_eq!(Path::new("does_not_exist.txt").exists(), false); + /// assert!(!Path::new("does_not_exist.txt").exists()); /// ``` /// /// # See Also |
