Fixed day20 warnings
This commit is contained in:
		
							parent
							
								
									285cefa670
								
							
						
					
					
						commit
						cfd13f68bf
					
				@ -42,7 +42,6 @@ fn parse(input: &str) -> Input {
 | 
			
		||||
#[aoc(day20, part1)]
 | 
			
		||||
fn part1(input: &Input) -> usize {
 | 
			
		||||
    let start = input.0;
 | 
			
		||||
    let end = input.1;
 | 
			
		||||
    let map = &input.2;
 | 
			
		||||
 | 
			
		||||
    #[cfg(not(test))]
 | 
			
		||||
@ -124,7 +123,6 @@ fn part1(input: &Input) -> usize {
 | 
			
		||||
#[aoc(day20, part2)]
 | 
			
		||||
fn part2(input: &Input) -> usize {
 | 
			
		||||
    let start = input.0;
 | 
			
		||||
    let end = input.1;
 | 
			
		||||
    let map = &input.2;
 | 
			
		||||
 | 
			
		||||
    #[cfg(not(test))]
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user