diff options
| author | Marcus Klaas <mail@marcusklaas.nl> | 2015-10-23 20:44:46 +0200 |
|---|---|---|
| committer | Marcus Klaas <mail@marcusklaas.nl> | 2015-10-23 20:44:46 +0200 |
| commit | ae5d7e6ba43ce099ac9a810efdbd855367459e1b (patch) | |
| tree | 49e50acd3ef29248d127941ff8232ffb6bb5ea83 /tests/source/pattern.rs | |
| parent | 7e76fad1f55945c196b32e6629ebaecc4ebfda74 (diff) | |
Fix indentation for enum-style patterns
Diffstat (limited to 'tests/source/pattern.rs')
| -rw-r--r-- | tests/source/pattern.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/source/pattern.rs b/tests/source/pattern.rs index 4192d521085..930ffe2258f 100644 --- a/tests/source/pattern.rs +++ b/tests/source/pattern.rs @@ -12,3 +12,14 @@ fn main() { if let None = opt2 { panic!("oh noes"); } } + +impl<'a,'b> ResolveGeneratedContentFragmentMutator<'a,'b> { + fn mutate_fragment(&mut self, fragment: &mut Fragment) { + match **info { + GeneratedContentInfo::ContentItem( + ContentItem::Counter( + ref counter_name, + counter_style + ) + ) => {}}} +} |
