Skip to content

Nitpick: doc for generated vec-like methods have extra spaces #34

Open
@Artoria2e5

Description

@Artoria2e5

The current doc-generation code looks like:
https://github.com/lumol-org/soa-derive/blob/d16585c/soa-derive-internal/src/vec.rs#L54-L56

As a result, it introduces extra spaces due to markdown translating newlines to spaces:

http://lumol.org/soa-derive/soa_derive_example/struct.ParticleVec.html#impl-2
Screen Shot 2021-05-03 at 12 09 41

With rust-lang/rust#78837 I think a bit of extra magic can be used here to generate the entire part inside of the square brackets.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions