Skip to content

Commit 686a611

Browse files
sfacklerCentril
andauthored
Update src/libstd/error.rs
Co-Authored-By: Mazdak Farrokhzad <[email protected]>
1 parent e836a4c commit 686a611

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/error.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ pub trait Error: Debug + Display {
207207
}
208208

209209
mod private {
210-
// this is a hack to prevent type_id from being overridden by Error
210+
// This is a hack to prevent `type_id` from being overridden by `Error`
211211
// implementations, since that can enable unsound downcasting.
212212
#[unstable(feature = "error_type_id", issue = "60784")]
213213
#[derive(Debug)]

0 commit comments

Comments
 (0)