about summary refs log tree commit diff
path: root/users/riking/adventofcode-2020/day01
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-02-07T15·49+0300
committertazjin <tazjin@tvl.su>2022-02-08T12·06+0000
commit3d8ee620875085ae7e8d7ef31f4f8e3738cfdca1 (patch)
treec4597319495abbb82c9753791fbde11bfdb644f0 /users/riking/adventofcode-2020/day01
parent3318982f81c01b570b7021fd9f71aa2bfe192271 (diff)
style(rust): Format all Rust code with rustfmt r/3791
Change-Id: Iab7e00cc26a4f9727d3ab98691ef379921a33052
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5240
Tested-by: BuildkiteCI
Reviewed-by: kanepyork <rikingcoding@gmail.com>
Reviewed-by: Profpatsch <mail@profpatsch.de>
Reviewed-by: grfn <grfn@gws.fyi>
Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'users/riking/adventofcode-2020/day01')
-rw-r--r--users/riking/adventofcode-2020/day01/src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/users/riking/adventofcode-2020/day01/src/main.rs b/users/riking/adventofcode-2020/day01/src/main.rs
index 3e6b339d7c2b..e8bc2a05e45a 100644
--- a/users/riking/adventofcode-2020/day01/src/main.rs
+++ b/users/riking/adventofcode-2020/day01/src/main.rs
@@ -6,7 +6,7 @@ use std::io::BufReader;
 const PART_2: bool = true;
 
 fn day01(is_part2: bool, numbers: &Vec<i64>) -> Result<String, anyhow::Error> {
-    //println!("{:?}", numbers);
+    // println!("{:?}", numbers);
 
     for n1 in numbers.iter() {
         for n2 in numbers.iter() {
@@ -50,7 +50,7 @@ fn parse(filename: &str) -> Result<Vec<i64>, anyhow::Error> {
 fn main() -> anyhow::Result<()> {
     let args: Vec<String> = std::env::args().collect();
 
-    //println!("{:?}", args);
+    // println!("{:?}", args);
     if args.len() != 2 {
         return Err(anyhow!("usage: day01 input_file"));
     }