[core] Import std::fmt and remove std:: from Display symbol spelling
This commit is contained in:
		
							parent
							
								
									9f2dc3fa76
								
							
						
					
					
						commit
						80ac8ea036
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		|  | @ -1,6 +1,7 @@ | |||
| // Eryn Wells <eryn@erynwells.me>
 | ||||
| 
 | ||||
| use crate::{Direction, score::ScoreInner}; | ||||
| use std::fmt; | ||||
| use thiserror::Error; | ||||
| 
 | ||||
| #[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)] | ||||
|  | @ -66,8 +67,8 @@ impl Color { | |||
|     } | ||||
| } | ||||
| 
 | ||||
| impl std::fmt::Display for Color { | ||||
|     fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { | ||||
| impl fmt::Display for Color { | ||||
|     fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ||||
|         write!( | ||||
|             f, | ||||
|             "{}", | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue