about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorSteven Fackler <sfackler@gmail.com>2019-05-16 20:18:29 -0700
committerGitHub <noreply@github.com>2019-05-16 20:18:29 -0700
commit686a611b9e19b487a70fccc960ea0e16e71de988 (patch)
treef3781a700b3c999a2b315a58e86440d5af4b0976 /src/libstd
parente836a4cd79c8b7f6ba8ea93c6da29e7b803116f3 (diff)
downloadrust-686a611b9e19b487a70fccc960ea0e16e71de988.tar.gz
rust-686a611b9e19b487a70fccc960ea0e16e71de988.zip
Update src/libstd/error.rs
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/error.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/error.rs b/src/libstd/error.rs
index d2aa2195a35..62282006a40 100644
--- a/src/libstd/error.rs
+++ b/src/libstd/error.rs
@@ -207,7 +207,7 @@ pub trait Error: Debug + Display {
 }
 
 mod private {
-    // this is a hack to prevent type_id from being overridden by Error
+    // This is a hack to prevent `type_id` from being overridden by `Error`
     // implementations, since that can enable unsound downcasting.
     #[unstable(feature = "error_type_id", issue = "60784")]
     #[derive(Debug)]