Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(embedded): Switch to syn for parsing doc comments #12258

Merged
merged 1 commit into from
Jun 17, 2023

Commits on Jun 14, 2023

  1. 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!()`.
    epage committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    4e0ac38 View commit details
    Browse the repository at this point in the history