diff options
| author | Edvard Thörnros <edvard.thornros@gmail.com> | 2021-03-09 17:48:17 +0100 |
|---|---|---|
| committer | Edvard Thörnros <edvard.thornros@gmail.com> | 2021-03-09 17:48:17 +0100 |
| commit | 8d4493d0ac314318498155556467d46b6036d863 (patch) | |
| tree | 334d923141e1fdb307b9e882373fee58c2be46a6 /src/compiler.rs | |
| parent | 64faa5bad78b74fff1aca73987b010cb2961c027 (diff) | |
| download | sylt-8d4493d0ac314318498155556467d46b6036d863.tar.gz | |
Questionmark -> QuestionMark
Diffstat (limited to 'src/compiler.rs')
| -rw-r--r-- | src/compiler.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler.rs b/src/compiler.rs index 588a9e9..9ab868f 100644 --- a/src/compiler.rs +++ b/src/compiler.rs @@ -1407,7 +1407,7 @@ impl Compiler { tys.insert(self.parse_simple_type()?); loop { match self.peek() { - Token::Questionmark => { + Token::QuestionMark => { self.eat(); tys.insert(Type::Void); return Ok(Type::Union(tys)); |
