DEV Community

Discussion on: Learn to Build a Parser in Rust for Fun and Profit

 
cthutu profile image
Matt Davies

You don't at all. #[macro_use] is not required in 2018 edition. I was able to compile it fine without it using only the 2nd change I described above. To be clear, the typo I described before was of my own doing and nothing to do with your code.