aboutsummaryrefslogtreecommitdiff
path: root/crates/parser/src/grammar/items/consts.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-08-13 16:58:35 +0100
committerAleksey Kladov <[email protected]>2020-08-13 16:59:27 +0100
commit6bc2633c90cedad057c5201d1ab7f67b57247004 (patch)
tree4293492e643f9a604c5f30e051289bcea182694c /crates/parser/src/grammar/items/consts.rs
parent1b0c7701cc97cd7bef8bb9729011d4cf291a60c5 (diff)
Align parser names with grammar
Diffstat (limited to 'crates/parser/src/grammar/items/consts.rs')
-rw-r--r--crates/parser/src/grammar/items/consts.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/parser/src/grammar/items/consts.rs b/crates/parser/src/grammar/items/consts.rs
index 35ad766dc..eb7d1f828 100644
--- a/crates/parser/src/grammar/items/consts.rs
+++ b/crates/parser/src/grammar/items/consts.rs
@@ -2,11 +2,11 @@
2 2
3use super::*; 3use super::*;
4 4
5pub(super) fn static_def(p: &mut Parser, m: Marker) { 5pub(super) fn static_(p: &mut Parser, m: Marker) {
6 const_or_static(p, m, T![static], STATIC) 6 const_or_static(p, m, T![static], STATIC)
7} 7}
8 8
9pub(super) fn const_def(p: &mut Parser, m: Marker) { 9pub(super) fn konst(p: &mut Parser, m: Marker) {
10 const_or_static(p, m, T![const], CONST) 10 const_or_static(p, m, T![const], CONST)
11} 11}
12 12