Expand `derive` documentation.
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 38/100
- Tipo di issue
- Documentazione
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- rust
- Ambito
- documentation
Direzione di ricerca
Start with the Reference documentation for the derive attribute and compare its current coverage with the Rust Book's derivable traits appendix. Confirm the built-in derivable traits and decide whether to summarize their default-implementation semantics or link to existing core/std documentation. Done means the documentation clearly presents the supported list and the chosen semantics reference.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
The derive attribute documentation should probably list the built-in traits that are derivable. To my knowledge, the list is:
CloneHashPartialEqEqPartialOrdOrdDebugDefaultSendSyncCopy
Should the documentation also specify the semantics of how the default implementations behave? It seems like important information, but I think it is mostly covered in the core/std docs. Another option is to link to https://doc.rust-lang.org/book/appendix-03-derivable-traits.html.
- Lingua principale
- Rust
- Stelle
- 1.6k
- Fork
- 607
- Merge medio
- 1g 1h
- PR unite (30g)
- 12
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di rust-lang/reference
-
A-const-eval A-undefined-behavior
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
A-resolve
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
-
A-coercions
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
Tutte le issue di rust-lang/reference
Issue simili
-
risk:low runtime status:in-progress type:test
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
zeroclaw-labs/zeroclaw#11023 ·
-
good first issue refactor
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
bevyengine/bevy#25861 ·