chore: get rid of warnings

This commit is contained in:
Timo Kösters
2021-03-24 11:52:10 +01:00
parent e50f2864de
commit 16eed1d8c2
9 changed files with 82 additions and 96 deletions

View File

@@ -55,9 +55,7 @@ impl Appservice {
})
}
pub fn iter_all<'a>(
&'a self,
) -> impl Iterator<Item = Result<(String, serde_yaml::Value)>> + 'a {
pub fn iter_all(&self) -> impl Iterator<Item = Result<(String, serde_yaml::Value)>> + '_ {
self.iter_ids().filter_map(|id| id.ok()).map(move |id| {
Ok((
id.clone(),