Skip to content

Commit

Permalink
Update rust/agama-lib/src/dbus.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Imobach González Sosa <igonzalezsosa@suse.com>
  • Loading branch information
jreidinger and imobachgs committed Apr 30, 2024
1 parent fedf5e9 commit a598fb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/agama-lib/src/dbus.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ where
}

/// It is similar helper like get_property with difference that name does not need to be in HashMap.
/// In such case `None``is returned, so type has to be enclosed in `Option`.`
/// In such case `None` is returned, so type has to be enclosed in `Option`.
pub fn get_optional_property<'a, T>(
properties: &'a HashMap<String, OwnedValue>,
name: &str,
Expand Down

0 comments on commit a598fb5

Please sign in to comment.