From 2d0f5584156e292bbcad0b5277a81a89d1ad24e1 Mon Sep 17 00:00:00 2001 From: greg Date: Mon, 11 Nov 2019 03:32:40 -0800 Subject: [PATCH] remove comment --- schala-lang/language/src/ast/visitor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schala-lang/language/src/ast/visitor.rs b/schala-lang/language/src/ast/visitor.rs index 6a0c19c..0d10ccc 100644 --- a/schala-lang/language/src/ast/visitor.rs +++ b/schala-lang/language/src/ast/visitor.rs @@ -46,7 +46,7 @@ pub enum VisitorOutput { Err(E) } -pub trait ExpressionVisitor {//TODO maybe this should be an associated type? +pub trait ExpressionVisitor { type Output; fn type_anno(&mut self, _anno: &TypeIdentifier) -> Self::Output; fn nat_literal(&mut self, _value: &u64) -> Self::Output;