remove duplicate fn
This commit is contained in:
		
							parent
							
								
									ffe3a87319
								
							
						
					
					
						commit
						c017b85962
					
				
					 1 changed files with 0 additions and 5 deletions
				
			
		| 
						 | 
					@ -59,11 +59,6 @@ impl ByteGrid {
 | 
				
			||||||
            self.height
 | 
					            self.height
 | 
				
			||||||
        );
 | 
					        );
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					 | 
				
			||||||
    pub fn get_mut(&mut self, x: usize, y: usize) -> &mut u8 {
 | 
					 | 
				
			||||||
        self.check_indexes(x, y);
 | 
					 | 
				
			||||||
        &mut self.data[x + y * self.width]
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
impl Grid<u8> for ByteGrid {
 | 
					impl Grid<u8> for ByteGrid {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue