mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-16 00:43:50 +00:00
Rollup merge of #121888 - cppcoffee:style, r=Nilstrieb
style library/core/src/error.rs Add an extra blank line for clarity in distinguishing implementations.
This commit is contained in:
commit
5b66e008e0
@ -183,6 +183,7 @@ pub trait Error: Debug + Display {
|
||||
#[allow(unused_variables)]
|
||||
fn provide<'a>(&'a self, request: &mut Request<'a>) {}
|
||||
}
|
||||
|
||||
mod private {
|
||||
// This is a hack to prevent `type_id` from being overridden by `Error`
|
||||
// implementations, since that can enable unsound downcasting.
|
||||
|
Loading…
Reference in New Issue
Block a user