Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 979ec74

Browse files
authored
Unrolled build for rust-lang#121888
Rollup merge of rust-lang#121888 - cppcoffee:style, r=Nilstrieb style library/core/src/error.rs Add an extra blank line for clarity in distinguishing implementations.
2 parents 5257aee + 624f9d3 commit 979ec74

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/core/src/error.rs

Lines changed: 1 addition & 0 deletions
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)