The macro explained in that section was mainly for me to learn macros, and save up some boilerplate with nice syntax.
It's surprising how little information exists out there about proc_macros in general.
Couldn't agree more, both on proc macros and operating system, I did not find sufficient information on the internet. That is exactly the purpose of this book.
It's surprising how little information exists out there about proc_macros in general.