delegate box error provide
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
This commit is contained in:
parent
650991d62c
commit
c872ccc510
1 changed files with 4 additions and 0 deletions
|
@ -2444,4 +2444,8 @@ impl<T: core::error::Error> core::error::Error for Box<T> {
|
|||
fn source(&self) -> Option<&(dyn core::error::Error + 'static)> {
|
||||
core::error::Error::source(&**self)
|
||||
}
|
||||
|
||||
fn provide<'b>(&'b self, request: &mut core::error::Request<'b>) {
|
||||
core::error::Error::provide(&**self, request);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue