This should make the code easier to read and more idiomatic.
Details
Details
- Reviewers
kevincox - Group Reviewers
hg-reviewers - Commits
- rHG51cd86735608: rust-status: refactor dispatch case for normal files
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Branch
- default
- Lint
No Linters Available - Unit
No Unit Test Coverage
Event Timeline
rust/hg-core/src/dirstate/status.rs | ||
---|---|---|
30–42 | I see a lot of these and in general I would recommend against it. The compiler is smart. Unless profiling shows an advantage in a specific case I would leave them out. |
I see a lot of these and in general I would recommend against it. The compiler is smart. Unless profiling shows an advantage in a specific case I would leave them out.