Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(embedded): Switch to
syn
for parsing doc comments
The hope is this will result in more resilient comment handling, being more consistent with rustdoc. I also hoped for less code but `syn` is doing less than I had expected, requiring us to copy code over from other parts of rust. It seems every proc macro has to do this but there is no guide to it, so they all do it differently, only covering the cases they thought to test for. Note that this still won't support `include_str!()`.
- Loading branch information