Skip to content

Commit

Permalink
fix: Remove use<'_> for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
jetuk committed Oct 25, 2024
1 parent 6acca5a commit b957a17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pywr-core/src/virtual_storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ impl VirtualStorage {
&self.nodes
}

pub fn iter_nodes_with_factors(&self) -> impl Iterator<Item = (&NodeIndex, f64)> + use<'_> {
pub fn iter_nodes_with_factors(&self) -> impl Iterator<Item = (&NodeIndex, f64)> + '_ {
self.nodes.iter().zip(self.factors.iter()).map(|(n, f)| (n, *f))
}

Expand Down

0 comments on commit b957a17

Please sign in to comment.