mirror of
https://github.com/rust-osdev/uefi-rs
synced 2026-08-26 18:26:05 -04:00
Merge pull request #1690 from rust-osdev/bishop-fix-lints-4
Fix mismatched_lifetime_syntaxes lint
This commit is contained in:
commit
6fb6005099
10 changed files with 30 additions and 26 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