Skip to content

rust-documentation: cannot compose with progenitor generated types #21

Description

@rcgoodfellow

When progenitor generates types, it adds a <details> JSON goes here </details> blob in the top-level structure or enum comment. That JSON blob trips the rust-documentation lint, seemingly due to having square brackets not followed by parens, preventing composition with downstream APIs whose structures are generated by progenitor.

A workaround for this is to use replace in the progenitor generate_api! macro to prevent these generated comments from coming into play.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions