Update src/libstd/error.rs
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
This commit is contained in:
parent
e836a4cd79
commit
686a611b9e
1 changed files with 1 additions and 1 deletions
|
@ -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)]
|
||||
|
|
Loading…
Reference in a new issue