Skip to content

Commit

Permalink
chore: need less clone
Browse files Browse the repository at this point in the history
  • Loading branch information
Decodetalkers committed Dec 20, 2023
1 parent a1cf31c commit 9000544
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/screenshot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ impl ScreenShotBackend {
.map_err(|_| zbus::Error::Failure("Cannot update outputInfos".to_string()))?;

let image_buffer = if options.interactive {
let wayinfos = wayshot_connection.get_all_outputs().clone();
let wayinfos = wayshot_connection.get_all_outputs();
let screen_infos = wayinfos
.iter()
.map(|screen| ScreenInfo {
Expand Down

0 comments on commit 9000544

Please sign in to comment.