D7525: rust-matchers: improve `Matcher` trait ergonomics

kevincox (Kevin Cox) phabricator at mercurial-scm.org
Mon Dec 2 08:09:15 EST 2019


kevincox added inline comments.
kevincox accepted this revision.

INLINE COMMENTS

> matchers.rs:87
> +        None
>      }
>      fn exact_match(&self, _filename: impl AsRef<HgPath>) -> bool {

Another option here would just to have a global empty hash set.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7525/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7525

To: Alphare, #hg-reviewers, kevincox
Cc: durin42, kevincox, mercurial-devel


More information about the Mercurial-devel mailing list