Skip to content

The syntax highlighter used for the HTML source code display does not account for the "logical and" operator. #484

Closed
@slightlyoutofphase

Description

@slightlyoutofphase

That is, &&. This is the case in both dark and light mode, it seems (it only ever highlights the first &.)

Some source from a crate of mine, with the bug visible:
https://docs.rs/staticvec/0.4.4/src/staticvec/lib.rs.html#384

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-buildsArea: Building the documentation for a crateC-bugCategory: This is a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions