aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-02-11 09:58:12 +0000
committerAleksey Kladov <[email protected]>2018-02-11 09:58:12 +0000
commit96437b050f2743fef2e37eaab7259f2f98f9b473 (patch)
tree51e7251231162d5d31b6e18fabdbb466ffb94d19
parent8a3f17a4e263781deac5e503ad5116ec78004618 (diff)
Formatting
-rw-r--r--src/parser/grammar/types.rs4
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];