Skip to main content

Fix the formatting

ID
39f3a92
date
2024-06-03 21:04:50+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
2834bbf
message
Fix the formatting
changed files
1 file, 3 additions, 1 deletion

Changed files

src/main.rs (2212) → src/main.rs (2230)

diff --git a/src/main.rs b/src/main.rs
index debb1a1..5b5abb9 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -29,7 +29,9 @@ fn main() {
         .get_matches();
 
     // This .unwrap() is safe because "path" is a required param
-    let base_colour = matches.get_one::<String>("COLOUR").expect("`COLOUR` is required");
+    let base_colour = matches
+        .get_one::<String>("COLOUR")
+        .expect("`COLOUR` is required");
 
     let rgb = match Srgb::from_str(base_colour) {
         Ok(c) => c.into_format::<u8>(),