From a579a6c0d182590083cfa793c092bccfebd4dd57 Mon Sep 17 00:00:00 2001 From: Vedansh Jain Date: Fri, 20 Oct 2023 19:39:54 +0530 Subject: [PATCH 1/3] Comment Added --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index c73b8d2..3f54fc3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -7,7 +7,7 @@ fn main() { } let subcommand = args.remove(0); match subcommand.as_str() { - "blur" => { + "blur" => { // Blur Effect if args.len() != 3 { print_usage_and_exit(); } From a507e3540f70256abdbb7786c439946915e2a45e Mon Sep 17 00:00:00 2001 From: Vedansh Jain Date: Fri, 20 Oct 2023 19:41:55 +0530 Subject: [PATCH 2/3] Comment Added --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 3f54fc3..b828996 100644 --- a/src/main.rs +++ b/src/main.rs @@ -17,7 +17,7 @@ fn main() { blur(infile, outfile, amount); } - "brighten" => { + "brighten" => { // Brightening Effect if args.len() != 3 { print_usage_and_exit(); } From ee2bac0c6331e1a97f35161b9672a252a5de2286 Mon Sep 17 00:00:00 2001 From: Sujoy De Date: Fri, 20 Oct 2023 19:44:32 +0530 Subject: [PATCH 3/3] formatted comments --- src/main.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index b828996..427535f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -7,7 +7,8 @@ fn main() { } let subcommand = args.remove(0); match subcommand.as_str() { - "blur" => { // Blur Effect + "blur" => { + // Blur Effect if args.len() != 3 { print_usage_and_exit(); } @@ -17,7 +18,8 @@ fn main() { blur(infile, outfile, amount); } - "brighten" => { // Brightening Effect + "brighten" => { + // Brightening Effect if args.len() != 3 { print_usage_and_exit(); }