style(rust): Format all Rust code with rustfmt
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>
This commit is contained in:
		
							parent
							
								
									3318982f81
								
							
						
					
					
						commit
						3d8ee62087
					
				
					 42 changed files with 1253 additions and 876 deletions
				
			
		|  | @ -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")); | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue