fix lints on rust 1.89 (#4587)
This commit is contained in:
1 parent
27bae6fbb7
commit
9ec474962b
16 files changed
+48
-37
No files matched your search
@@ -250,7 +250,7 @@ impl ErrorContext {
|
||||
}
|
||||
|
||||
/// Get all errors thrown from child components
|
||||
pub fn errors(&self) -> Ref<[CapturedError]> {
|
||||
pub fn errors(&self) -> Ref<'_, [CapturedError]> {
|
||||
Ref::map(self.errors.borrow(), |errors| errors.as_slice())
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user