Skip to content

Commit 31773b8

Browse files
committed
fixup! Add Layers::iter()
1 parent 104a391 commit 31773b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config/layers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ impl Layers {
129129
///
130130
/// This is useful if you want to access all values of each layer (even the shadowed ones) for
131131
/// example for debug analysis of the loaded configuration values.
132-
pub fn iter(&self) -> impl Iterator<Item = ConfigObject> {
132+
pub fn iter(&self) -> impl Iterator<Item = &ConfigObject> {
133133
self.0.iter()
134134
}
135135
}

0 commit comments

Comments
 (0)