about summary refs log tree commit diff
path: root/src/libcore/fmt
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2018-12-13 09:55:16 -0800
committerEsteban Küber <esteban@kuber.com.ar>2018-12-13 09:55:16 -0800
commit33a34b06ac8828ffddc91b822fdec9f862658600 (patch)
tree88889134863fe17fc7f44c58731bd879b16402f9 /src/libcore/fmt
parentc7f1b977ed807d987da0350133b1443fd2caa21f (diff)
Wording changes
Diffstat (limited to 'src/libcore/fmt')
-rw-r--r--src/libcore/fmt/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcore/fmt/mod.rs b/src/libcore/fmt/mod.rs
index de936515698..8e0caa5ae33 100644
--- a/src/libcore/fmt/mod.rs
+++ b/src/libcore/fmt/mod.rs
@@ -611,9 +611,9 @@ pub trait Debug {
 #[rustc_on_unimplemented(
     on(
         _Self="std::path::Path",
-        label="`{Self}` cannot be formatted with the default formatter, call `.display()` on it",
-        note="you need to call `.display()` or `.to_string_lossy()` for safely printing paths as \
-              they may contain non-Unicode data"
+        label="`{Self}` cannot be formatted with the default formatter; call `.display()` on it",
+        note="call `.display()` or `.to_string_lossy()` to safely print paths, \
+              as they may contain non-Unicode data"
     ),
     message="`{Self}` doesn't implement `{Display}`",
     label="`{Self}` cannot be formatted with the default formatter",