rust-unofficial/patterns

Add "Use Self in impl" idiom

Ouverte

#145 ouverte le 3 janv. 2021

 (8 commentaires) (0 réaction) (0 personne assignée)Shell (292 forks)batch import
A-idiomC-additionE-help wantedgood first issue

Métriques du dépôt

Stars
 (6 622 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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

Guide contributeur