##// END OF EJS Templates
rust-matchers: add TODO about incomplete `Display` for `IncludeMatcher`...
Raphaël Gomès -
r45312:de0fb446 default
parent child Browse files
Show More
@@ -670,6 +670,12 b" impl<'a> IncludeMatcher<'a> {"
670
670
671 impl<'a> Display for IncludeMatcher<'a> {
671 impl<'a> Display for IncludeMatcher<'a> {
672 fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error> {
672 fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error> {
673 // XXX What about exact matches?
674 // I'm not sure it's worth it to clone the HashSet and keep it
675 // around just in case someone wants to display the matcher, plus
676 // it's going to be unreadable after a few entries, but we need to
677 // inform in this display that exact matches are being used and are
678 // (on purpose) missing from the `includes`.
673 write!(
679 write!(
674 f,
680 f,
675 "IncludeMatcher(includes='{}')",
681 "IncludeMatcher(includes='{}')",
General Comments 0
You need to be logged in to leave comments. Login now