Skip to content

Commit

Permalink
piecrust: fixed clippy error
Browse files Browse the repository at this point in the history
  • Loading branch information
miloszm committed Apr 25, 2024
1 parent 5bf6742 commit f3dcee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion piecrust/src/instance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ impl WrappedInstance {
}

pub(crate) fn read_eco_mode(&self) -> EconomicMode {
self.with_eco_mode_buf(|eco_mode_buf| EconomicMode::read(eco_mode_buf))
self.with_eco_mode_buf(EconomicMode::read)
}

pub(crate) fn clear_eco_mode(&mut self) {
Expand Down

0 comments on commit f3dcee1

Please sign in to comment.