Skip to content

Commit

Permalink
reference grammar: remove procedure_type
Browse files Browse the repository at this point in the history
  • Loading branch information
matklad committed Sep 3, 2015
1 parent 0762f58 commit 59f2343
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/doc/grammar.md
Original file line number Diff line number Diff line change
Expand Up @@ -754,8 +754,6 @@ return_expr : "return" expr ? ;
```antlr
closure_type := [ 'unsafe' ] [ '<' lifetime-list '>' ] '|' arg-list '|'
[ ':' bound-list ] [ '->' type ]
procedure_type := 'proc' [ '<' lifetime-list '>' ] '(' arg-list ')'
[ ':' bound-list ] [ '->' type ]
lifetime-list := lifetime | lifetime ',' lifetime-list
arg-list := ident ':' type | ident ':' type ',' arg-list
bound-list := bound | bound '+' bound-list
Expand Down

0 comments on commit 59f2343

Please sign in to comment.