D8098: rust-nodemap: a method for full invalidation
kevincox (Kevin Cox)
phabricator at mercurial-scm.org
Mon Feb 24 10:56:33 UTC 2020
kevincox added inline comments.
kevincox accepted this revision.
INLINE COMMENTS
> nodemap.rs:577
> + /// immutable part.
> + pub fn invalidate_all(&mut self) -> () {
> + self.root = Block::new();
`-> ()` is unnecessary.
> nodemap.rs:580
> + self.growable = Vec::new();
> + self.masked_inner_blocks = self.readonly.len()
> + }
End the line with a `;`.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D8098/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D8098
To: marmoute, #hg-reviewers, kevincox
Cc: kevincox, mercurial-devel
More information about the Mercurial-devel
mailing list