Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5958a2 commit ad12cc4Copy full SHA for ad12cc4
1 file changed
src/config.rs
@@ -24,8 +24,14 @@ impl<'a> Config<'a> {
24
.collect();
25
26
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");
+ let x: u16 = matches
+ .get_one("x")
29
+ .cloned()
30
+ .expect("X offset must be present");
31
+ let y: i16 = matches
32
+ .get_one("y")
33
34
+ .expect("Y offset must be present");
35
36
let use_blocks = matches.get_flag("blocks");
37
let transparent = matches.get_flag("transparent");
0 commit comments