Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ad12cc4

Browse files
committed
Fmt
1 parent e5958a2 commit ad12cc4

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

src/config.rs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,14 @@ impl<'a> Config<'a> {
2424
.collect();
2525

2626
let absolute_offset = matches.get_flag("absolute-offset");
27-
let x: u16 = matches.get_one("x").cloned().expect("X offset must be present");
28-
let y: i16 = matches.get_one("y").cloned().expect("Y offset must be present");
27+
let x: u16 = matches
28+
.get_one("x")
29+
.cloned()
30+
.expect("X offset must be present");
31+
let y: i16 = matches
32+
.get_one("y")
33+
.cloned()
34+
.expect("Y offset must be present");
2935

3036
let use_blocks = matches.get_flag("blocks");
3137
let transparent = matches.get_flag("transparent");

0 commit comments

Comments
 (0)