rust-unofficial/patterns

Add "Use Self in impl" idiom

Aperta

#145 aperta il 3 gen 2021

 (8 commenti) (0 reazioni) (0 assegnatari)Shell (292 fork)batch import
A-idiomC-additionE-help wantedgood first issue

Metriche repository

Star
 (6622 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Idea from #61 Should we add an idiom that suggest to use Self inside impl? See the PR above for an example.

  • Disadvantages: readability
  • Advantages: refactoring

Guida contributor