Skip to content
Permalink
Browse files

Update src/libstd/error.rs

Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
  • Loading branch information...
sfackler and Centril committed May 17, 2019
1 parent e836a4c commit 686a611b9e19b487a70fccc960ea0e16e71de988
Showing with 1 addition and 1 deletion.
  1. +1 −1 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)]

0 comments on commit 686a611

Please sign in to comment.
You can’t perform that action at this time.