Non-lexical lifetimes (RFC 2025, RFC 2094)

Aperta
#290 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Documentazione
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
rust

Direzione di ricerca

Start by reading rust-lang/rust#44928 and the current Rust Reference sections covering lifetimes, borrow checking, and expressions. Map the existing ad hoc material and identify what the NLL changes require; done means the checklist is addressed with coherent reference documentation and examples where appropriate.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

RFC Stabilization Docs

See rust-lang/rust#44928. The reference currently has almost no documentation of borrowck

  • Document lifetimes (I'll try to get to this soon eventually)
  • Document borrowck in enough detail for the NLL changes to matter. The main changes are that lifetimes don't have to correspond to lexical scopes, and that 'outlives' is now will eventually be defined as happening at a point in the control flow graph, rather than globally.
  • Use in examples if there are any.
  • Move ad hoc documentation of borrowck requirements out of the expressions chapter.
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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di rust-lang/reference

Tutte le issue di rust-lang/reference

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.