Skip to content

Commit

Permalink
Remove unnecessary Clone
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Nov 9, 2023
1 parent 0f7d1d5 commit 79bfca3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/eframe/src/native/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1908,7 +1908,7 @@ mod wgpu_integration {
parent_id: ViewportId,
}

#[derive(Clone, Default)]
#[derive(Default)]
pub struct Viewports(ViewportIdMap<Viewport>);

impl std::ops::Deref for Viewports {
Expand Down

0 comments on commit 79bfca3

Please sign in to comment.