Skip to content

Commit 5b66e00

Browse files
authored
Rollup merge of #121888 - cppcoffee:style, r=Nilstrieb
style library/core/src/error.rs Add an extra blank line for clarity in distinguishing implementations.
2 parents 240d0ad + 624f9d3 commit 5b66e00

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)