diff options
author | Nadrieril | 2019-08-16 11:11:28 +0200 |
---|---|---|
committer | Nadrieril | 2019-08-16 11:11:28 +0200 |
commit | 509743469035582d916e6a2f331fd5018c81447e (patch) | |
tree | 7689c8ff696e8c6c28bd864ec6b46a2ef941f8de /dhall_syntax/src/parser.rs | |
parent | 91ba644fa47c29feb57dba957ee8aa115ed95fef (diff) |
Use `!` type instead of custom empty type
Diffstat (limited to 'dhall_syntax/src/parser.rs')
-rw-r--r-- | dhall_syntax/src/parser.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dhall_syntax/src/parser.rs b/dhall_syntax/src/parser.rs index d467970..bcaa00e 100644 --- a/dhall_syntax/src/parser.rs +++ b/dhall_syntax/src/parser.rs @@ -18,8 +18,8 @@ use crate::*; // their own crate because they are quite general and useful. For now they // are here and hopefully you can figure out how they work. -pub(crate) type ParsedExpr = Expr<Void>; -pub(crate) type ParsedSubExpr = SubExpr<Void>; +pub(crate) type ParsedExpr = Expr<!>; +pub(crate) type ParsedSubExpr = SubExpr<!>; type ParsedText = InterpolatedText<ParsedSubExpr>; type ParsedTextContents = InterpolatedTextContents<ParsedSubExpr>; |