aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/parcom.cr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parcom.cr b/src/parcom.cr
index a2b8b92..c1eb676 100644
--- a/src/parcom.cr
+++ b/src/parcom.cr
@@ -75,7 +75,7 @@ module Parcom
Map.new(self, f)
end
- def recover(default : T)
+ def recover(default : V) : Recover(T, V)
Recover.new(self, default)
end
end