Skip to content

Commit 71da69b

Browse files
committed
fix: change return type of attributes() to use impl Iterator
1 parent 4260664 commit 71da69b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ impl BundleInfo {
121121
}
122122
}
123123

124-
pub fn attributes(&self) -> std::collections::hash_map::Values<'_, String, Attribute> {
124+
pub fn attributes(&self) -> impl Iterator<Item = &Attribute>{
125125
self.attributes.values()
126126
}
127127

0 commit comments

Comments
 (0)