Skip to content

Commit

Permalink
fixup! Add Layers::iter()
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasbeyer committed May 19, 2023
1 parent 104a391 commit 31773b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/layers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ impl Layers {
///
/// This is useful if you want to access all values of each layer (even the shadowed ones) for
/// example for debug analysis of the loaded configuration values.
pub fn iter(&self) -> impl Iterator<Item = ConfigObject> {
pub fn iter(&self) -> impl Iterator<Item = &ConfigObject> {
self.0.iter()
}
}

0 comments on commit 31773b8

Please sign in to comment.