mirror of
https://github.com/rust-osdev/uefi-rs
synced 2026-08-26 18:26:05 -04:00
test-runner: Fix mismatched_lifetime_syntaxes lint
This commit is contained in:
parent
d339387e2a
commit
43aee0840e
1 changed files with 3 additions and 3 deletions
|
|
@ -28,7 +28,7 @@ impl ComponentNameInterface for ScopedProtocol<ComponentName1> {
|
|||
boot::open_protocol_exclusive::<ComponentName1>(handle)
|
||||
}
|
||||
|
||||
fn supported_languages(&self) -> core::result::Result<LanguageIter, LanguageError> {
|
||||
fn supported_languages(&self) -> core::result::Result<LanguageIter<'_>, LanguageError> {
|
||||
(**self).supported_languages()
|
||||
}
|
||||
|
||||
|
|
@ -51,7 +51,7 @@ impl ComponentNameInterface for ScopedProtocol<ComponentName2> {
|
|||
boot::open_protocol_exclusive::<ComponentName2>(handle)
|
||||
}
|
||||
|
||||
fn supported_languages(&self) -> core::result::Result<LanguageIter, LanguageError> {
|
||||
fn supported_languages(&self) -> core::result::Result<LanguageIter<'_>, LanguageError> {
|
||||
(**self).supported_languages()
|
||||
}
|
||||
|
||||
|
|
@ -74,7 +74,7 @@ impl ComponentNameInterface for ComponentName {
|
|||
Self::open(handle)
|
||||
}
|
||||
|
||||
fn supported_languages(&self) -> core::result::Result<LanguageIter, LanguageError> {
|
||||
fn supported_languages(&self) -> core::result::Result<LanguageIter<'_>, LanguageError> {
|
||||
self.supported_languages()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue