diff options
author | Aleksey Kladov <[email protected]> | 2018-02-11 09:58:12 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-02-11 09:58:12 +0000 |
commit | 96437b050f2743fef2e37eaab7259f2f98f9b473 (patch) | |
tree | 51e7251231162d5d31b6e18fabdbb466ffb94d19 /src/parser | |
parent | 8a3f17a4e263781deac5e503ad5116ec78004618 (diff) |
Formatting
Diffstat (limited to 'src/parser')
-rw-r--r-- | src/parser/grammar/types.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser/grammar/types.rs b/src/parser/grammar/types.rs index ea4df8639..a4967a00a 100644 --- a/src/parser/grammar/types.rs +++ b/src/parser/grammar/types.rs | |||
@@ -77,7 +77,7 @@ fn pointer_type(p: &mut Parser) { | |||
77 | // type T = *(); | 77 | // type T = *(); |
78 | p.error( | 78 | p.error( |
79 | "expected mut or const in raw pointer type \ | 79 | "expected mut or const in raw pointer type \ |
80 | (use `*mut T` or `*const T` as appropriate)" | 80 | (use `*mut T` or `*const T` as appropriate)", |
81 | ); | 81 | ); |
82 | } | 82 | } |
83 | }; | 83 | }; |
@@ -98,7 +98,7 @@ fn array_or_slice_type(p: &mut Parser) { | |||
98 | R_BRACK => { | 98 | R_BRACK => { |
99 | p.bump(); | 99 | p.bump(); |
100 | SLICE_TYPE | 100 | SLICE_TYPE |
101 | }, | 101 | } |
102 | 102 | ||
103 | // test array_type | 103 | // test array_type |
104 | // type T = [(); 92]; | 104 | // type T = [(); 92]; |