Rename parser::func_defs to parser::func_def

This commit is contained in:
Joscha 2022-11-21 00:08:59 +01:00
parent e7416fbc1e
commit c45a45f0b6
2 changed files with 2 additions and 4 deletions

View file

@ -18,7 +18,7 @@
mod basic;
mod expr;
mod func_defs;
mod func_def;
mod lit;
mod prefix;
mod program;
@ -52,7 +52,7 @@ pub fn parser() -> impl Parser<char, Program, Error = Error> {
table_pattern.clone(),
expr.clone(),
);
let func_def = func_defs::func_def(
let func_def = func_def::func_def(
space.clone(),
ident.clone(),
local,

View file

@ -1,5 +1,3 @@
// TODO Rename this module to func_def for consistency
use chumsky::prelude::*;
use crate::ast::{Expr, FuncDef, Ident, Space, TablePattern};