Skip to content

Commit

Permalink
Inline redundant variable
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Feb 22, 2024
1 parent ef15516 commit 9cd2417
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/fj-core/src/operations/presentation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ pub trait SetColor {

impl SetColor for Handle<Region> {
fn set_color(&self, color: impl Into<Color>, core: &mut Core) {
let color = color.into();

core.layers.presentation.set_color(self.clone(), color);
core.layers
.presentation
.set_color(self.clone(), color.into());
}
}

0 comments on commit 9cd2417

Please sign in to comment.