rust-lang / rust-lang/rust

`struct` documentation should include `Sized` in the listed auto trait implementations

Open
#126,421 2 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-synthetic-impls C-bug T-rustdoc
Dominant language
Rust
Stars
119k
Forks
16.1k
PR merge metrics
PR metrics pending

Description

This was previously raised in #17606, which was closed when auto-traits were documented in #47833—however, since Sized is not a library-implemented auto-trait but rather a compiler-implemented trait, it was omitted from that solution.

The issue appears to have also been previously raised in #41537 (closed as duplicate of the above) and #75413 (I think erroneously closed as duplicate of #24183).

@rustbot label A-docs C-bug

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. Start by examining how the auto-trait documentation added in #47833 is generated and compare it with compiler-implemented traits; done means struct documentation lists Sized alongside the other auto-trait implementations and the relevant documentation checks pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.