D7255: rust-matchers: remove default implementations for `Matcher` trait

Alphare (Raphaël Gomès) phabricator at mercurial-scm.org
Wed Nov 6 15:24:41 UTC 2019


Alphare created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  We don't expect a whole lot of matchers to be defined, and this makes it more
  obvious what a matcher does by reading its `impl Matcher for FooMatcher`.
  
  This patch has the added benefit of fixing the `AlwaysMatcher`, its `matches`
  function differs from the former default.

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

AFFECTED FILES


CHANGE DETAILS




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


More information about the Mercurial-devel mailing list