This is easier to read.
Details
Details
- Reviewers
SimonSapin pulkit - Group Reviewers
hg-reviewers - Commits
- rHGf6f25ab6bfc8: rust-dirstatemap: expand the wrapping code a bit
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
rust/hg-cpython/src/dirstate/dirstate_map.rs | ||
---|---|---|
130–135 | No need to go back for this, but there’s syntactic sugar in struct literals when a field’s value is set to that of a local variable of the same name: let entry = DirstateEntry { state, mode, size, mtime, }; |
No need to go back for this, but there’s syntactic sugar in struct literals when a field’s value is set to that of a local variable of the same name: