Skip to content

Commit 624f9d3

Browse files
authored
style library/core/src/error.rs
1 parent 4cdd205 commit 624f9d3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/core/src/error.rs

+1
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ pub trait Error: Debug + Display {
183183
#[allow(unused_variables)]
184184
fn provide<'a>(&'a self, request: &mut Request<'a>) {}
185185
}
186+
186187
mod private {
187188
// This is a hack to prevent `type_id` from being overridden by `Error`
188189
// implementations, since that can enable unsound downcasting.

0 commit comments

Comments
 (0)