]> git.lizzy.rs Git - rust.git/blobdiff - crates/parser/src/grammar/items/consts.rs
Align parser names with grammar
[rust.git] / crates / parser / src / grammar / items / consts.rs
index 35ad766dcee8882f6bec5aa007182bb8a5590400..eb7d1f8281dee00d6d2fab4f316663d36e13d597 100644 (file)
@@ -2,11 +2,11 @@
 
 use super::*;
 
-pub(super) fn static_def(p: &mut Parser, m: Marker) {
+pub(super) fn static_(p: &mut Parser, m: Marker) {
     const_or_static(p, m, T![static], STATIC)
 }
 
-pub(super) fn const_def(p: &mut Parser, m: Marker) {
+pub(super) fn konst(p: &mut Parser, m: Marker) {
     const_or_static(p, m, T![const], CONST)
 }