rust-unofficial/patterns

Add "Use Self in impl" idiom

开放

#145 创建于 2021年1月3日

 (8 条评论) (0 个反应) (0 位负责人)Shell (292 个派生)batch import
A-idiomC-additionE-help wantedgood first issue

仓库指标

星标
 (6,622 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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

贡献者指南