rust-lang / rust-lang/reference

support collapsing rule identifiers even on large screens

Open
#1,943 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Formatting
Dominant language
Rust
Stars
1.6k
Forks
607
PR merge metrics
PR metrics pending

Description

We currently always show rule identifiers on wide screens while only showing [*] on small ones.

When reading through the reference, having additional text on the screen can be distracting (and is to me), it would be very pleasant if there was a way to hide this text or maybe even hide it by default and only show it on hover.

I tend to read a line/section, continue at the start of the next line but start too far to left at the start of the rule identifier, realize it's not useful when reading the reference, and skip over it. This is fairly strenuous.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named in the issue. Start by locating how the Rust Reference renders rule identifiers and applies responsive styling, then verify a way to collapse or hide identifiers on wide screens while preserving useful reference navigation.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
documentation
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.