Skip to content

Commit

Permalink
fix a warning about elided_named_lifetimes
Browse files Browse the repository at this point in the history
  • Loading branch information
mvidner committed Feb 25, 2025
1 parent ee7da75 commit 027465f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/agama-lib/src/storage/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ impl<'a> StorageClient<'a> {
&'b self,
object: &'b DBusObject,
name: &str,
) -> Option<&HashMap<String, OwnedValue>> {
) -> Option<&'b HashMap<String, OwnedValue>> {
let interface: OwnedInterfaceName = InterfaceName::from_str_unchecked(name).into();
let interfaces = &object.1;
interfaces.get(&interface)
Expand Down

0 comments on commit 027465f

Please sign in to comment.