Skip to main content

remember to format my code

ID
2836aee
date
2022-10-24 18:49:37+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
90b9ce5
message
remember to format my code
changed files
1 file, 6 additions, 2 deletions

Changed files

src/main.rs (8350) → src/main.rs (8386)

diff --git a/src/main.rs b/src/main.rs
index a91ae46..a0dc256 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -12,9 +12,13 @@ mod get_bytes;
 fn main() {
     let matches = cli::app().get_matches();
 
-    let path = matches.get_one::<String>("PATH").expect("`path` is required");
+    let path = matches
+        .get_one::<String>("PATH")
+        .expect("`path` is required");
 
-    let max_colours: usize = *matches.get_one::<usize>("MAX-COLOURS").expect("`max-colours` is required");
+    let max_colours: usize = *matches
+        .get_one::<usize>("MAX-COLOURS")
+        .expect("`max-colours` is required");
 
     // There's different code for fetching bytes from GIF images because
     // GIFs are often animated, and we want a selection of frames.