Skip to content

Commit aa55a44

Browse files
committed
Merge remote-tracking branch 'o/main' into feat/36
2 parents 4e7d9fa + e767bb9 commit aa55a44

File tree

3 files changed

+23
-19
lines changed

3 files changed

+23
-19
lines changed

Cargo.lock

Lines changed: 18 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ maintenance = { status = "actively-developed" }
2121
[dependencies]
2222
anyhow = "1.0.56"
2323
tempfile = "3.3.0"
24-
rayon = "1.5.1"
25-
log = "0.4.14"
24+
rayon = "1.5.2"
25+
log = "0.4.16"
2626
env_logger = "0.9.0"
2727
simplerand = "1.3.0"
2828
humantime = "2.1.0"
2929
crossbeam-channel = "0.5"
3030
blockhash = "0.3"
3131

3232
[dependencies.clap]
33-
version = "3.1.6"
33+
version = "3.1.9"
3434
features = ["cargo"]
3535

3636
[dependencies.image]

src/main.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,9 +256,8 @@ pub fn ls_win() -> Result<()> {
256256
let api = setup()?;
257257
println!("Window | Id");
258258
for (window_owner, window_id) in api.window_list()? {
259-
match (window_owner, window_id) {
260-
(Some(window_owner), window_id) => println!("{} | {}", window_owner, window_id),
261-
(_, _) => {}
259+
if let (Some(window_owner), window_id) = (window_owner, window_id) {
260+
println!("{} | {}", window_owner, window_id)
262261
}
263262
}
264263

0 commit comments

Comments
 (0)