Skip to content
Snippets Groups Projects
Commit bce04514 authored by arthur-adjedj's avatar arthur-adjedj
Browse files

feat: add Declaration

parent 0c4a0fde
No related branches found
No related tags found
No related merge requests found
......@@ -22,11 +22,7 @@ fn build_term_from_expr(
match pair.as_rule() {
Rule::Prop => Ok(Term::Prop),
Rule::Type => Ok(Term::Type(
pair.into_inner()
.as_str()
.parse::<usize>()
.unwrap()
.into(),
pair.into_inner().as_str().parse::<usize>().unwrap().into(),
)),
/// build terms from errorless pest's output
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment