Skip to content

Commit

Permalink
Update src/libstd/error.rs
Browse files Browse the repository at this point in the history
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
  • Loading branch information
sfackler and Centril committed May 17, 2019
1 parent e836a4c commit 686a611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit 686a611

Please sign in to comment.