mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-06-10 04:32:48 +02:00
4dff452c1f
Following on from the last commit, I jumped on the Rust Community Discord and @danielhenrymantilla was kind enough to show me a working example of how an optional macro argument can be used together with cfg_attr to conditionally add a doc comment. I took his example and reworked it a little, in the process refactoring all the macros in the komorebic crate to give them a sense of internal consistency.