identify_tokens: Use Display on token Data
				
					
				
			This commit is contained in:
		| @@ -59,7 +59,7 @@ fn lex_tokens(file: &str, path: Option<&Path>) -> Result<(), Box<dyn Error>> { | |||||||
|  |  | ||||||
| fn print_token(t: conlang::token::Token) { | fn print_token(t: conlang::token::Token) { | ||||||
|     println!( |     println!( | ||||||
|         "{:02}:{:02}: {:#19} │{:?}│", |         "{:02}:{:02}: {:#19} │{}│", | ||||||
|         t.line(), |         t.line(), | ||||||
|         t.col(), |         t.col(), | ||||||
|         t.ty(), |         t.ty(), | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user