I am struggling to figure out how to nicely document my macros (in arrayref
, in case you're wondering). I'd love to have examples that serve as doc tests, but haven't been able to figure out how to load the macros in the example code.
I'm afraid the scoping of macros is still a bit of a mystery to me, as is the behavior of cargo test
, so it's not surprising that this combination would lead to mysterious errors. Any suggestions?