Document type_alias_enum_variants

Open
#631 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
rust
Domain
documentation

Research direction

Start with src/items/type-aliases.md and compare its current treatment of enum variants with the stabilized behavior described in rust-lang/rust#61682 and RFC 2218. Check whether the example update in #831 already covers this issue; done means the Reference clearly documents the intended type_alias_enum_variants behavior, or the issue is closed as superseded.

Written by the indexing model from the issue text.

Description

A-resolve New Content RFC Stabilization Docs

Stabilized in: https://github.com/rust-lang/rust/pull/61682
RFC (issue): https://github.com/rust-lang/rfcs/issues/2218
Issue: https://github.com/rust-lang/rust/issues/52118

There is a brief mention of this at the bottom of https://github.com/rust-lang-nursery/reference/blob/master/src/items/type-aliases.md that should be updated.
Example has been updated in #831.

@Centril were you planning to update this?

Dominant language
Rust
Stars
1.6k
Forks
607
Avg merge
1d 1h
Merged PRs (30d)
12

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.

More from rust-lang/reference

All issues in rust-lang/reference

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.