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

Port over doc comments in route macros. #2022

Merged
merged 6 commits into from
Feb 24, 2021

Commits on Feb 23, 2021

  1. Port over doc comments in route macros.

    This allows documentation on the functions to appear in the generated
    docs, e.g.:
    
    ```rust
    /// The index page
    async fn index() -> &'static str {
        "Hello!"
    }
    ```
    erikjohnston committed Feb 23, 2021
    Configuration menu
    Copy the full SHA
    cb1a712 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2021

  1. Handle multi-line doc comments.

    These are converted into multiple attributes, and so we need to store
    them all.
    erikjohnston committed Feb 24, 2021
    Configuration menu
    Copy the full SHA
    257a7d3 View commit details
    Browse the repository at this point in the history
  2. Update CHANGES.md

    robjtede committed Feb 24, 2021
    Configuration menu
    Copy the full SHA
    6f38e73 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f78b219 View commit details
    Browse the repository at this point in the history
  4. Apply suggestions from code review

    Co-authored-by: Jonas Platte <jplatte@users.noreply.github.com>
    erikjohnston and jplatte committed Feb 24, 2021
    Configuration menu
    Copy the full SHA
    16d2190 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    99a1db8 View commit details
    Browse the repository at this point in the history