This is an archive of the discontinued Mercurial Phabricator instance.

rust-index: moved constructor in separate impl block
ClosedPublic

Authored by Alphare on Feb 26 2020, 12:36 PM.

Details

Summary

with the upcoming addition of the nodemap logic, it's going to become
more complicated.

Being in the separate impl block has the advantage to be subject to rustfmt,
whereas code inside macro calls isn't.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

Alphare created this revision.Feb 26 2020, 12:36 PM
Alphare updated this revision to Diff 20652.Mar 10 2020, 6:51 AM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.