Mercurial > hg
comparison rust/hg-core/src/matchers.rs @ 44006:72bced4f2936
rust-matchers: fixing cargo doc
Block quotes marked as `ignore` are still parsed as Rust
source examples.
Differential Revision: https://phab.mercurial-scm.org/D7783
author | Georges Racinet <georges.racinet@octobus.net> |
---|---|
date | Wed, 25 Dec 2019 19:03:07 +0100 |
parents | 69c4f3cf2cdf |
children | 54d185eb24b5 |
comparison
equal
deleted
inserted
replaced
44005:6b332c1fc7fe | 44006:72bced4f2936 |
---|---|
41 /// Assume matchers `['path:foo/bar', 'rootfilesin:qux']`, we would | 41 /// Assume matchers `['path:foo/bar', 'rootfilesin:qux']`, we would |
42 /// return the following values (assuming the implementation of | 42 /// return the following values (assuming the implementation of |
43 /// visit_children_set is capable of recognizing this; some implementations | 43 /// visit_children_set is capable of recognizing this; some implementations |
44 /// are not). | 44 /// are not). |
45 /// | 45 /// |
46 /// ```text | |
46 /// ```ignore | 47 /// ```ignore |
47 /// '' -> {'foo', 'qux'} | 48 /// '' -> {'foo', 'qux'} |
48 /// 'baz' -> set() | 49 /// 'baz' -> set() |
49 /// 'foo' -> {'bar'} | 50 /// 'foo' -> {'bar'} |
50 /// // Ideally this would be `Recursive`, but since the prefix nature of | 51 /// // Ideally this would be `Recursive`, but since the prefix nature of |