Skip to content

IndexItem should be serialised as an object rather than an array #34678

Description

@nrc

See html/render.rs for the Rust side and main.js and possibly other places for the JS side.

I see no reason why this struct is serialised as an array, thus losing the information about which field is which. Using an object would retain that information and make things less error-prone, I believe.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-help-wantedCall for participation: Help is requested to fix this issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions