Mercurial > public > mercurial-scm > hg-stable
comparison rust/hg-core/src/filepatterns.rs @ 42851:ce6797ef6eab
rust: apply more formatting fixes
My cargo fmt updated these lines and they look good.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 31 Aug 2019 14:12:38 +0900 |
parents | 4b3b27d567d5 |
children | 62eabdf91f85 |
comparison
equal
deleted
inserted
replaced
42850:b1b984f9c01d | 42851:ce6797ef6eab |
---|---|
36 #[derive(Debug, Copy, Clone, PartialEq, Eq)] | 36 #[derive(Debug, Copy, Clone, PartialEq, Eq)] |
37 pub enum PatternSyntax { | 37 pub enum PatternSyntax { |
38 Regexp, | 38 Regexp, |
39 /// Glob that matches at the front of the path | 39 /// Glob that matches at the front of the path |
40 RootGlob, | 40 RootGlob, |
41 /// Glob that matches at any suffix of the path (still anchored at slashes) | 41 /// Glob that matches at any suffix of the path (still anchored at |
42 /// slashes) | |
42 Glob, | 43 Glob, |
43 Path, | 44 Path, |
44 RelPath, | 45 RelPath, |
45 RelGlob, | 46 RelGlob, |
46 RelRegexp, | 47 RelRegexp, |