nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
readme: add information section
[nit.git]
/
lib
/
core
/
error.nit
diff --git
a/lib/core/error.nit
b/lib/core/error.nit
index
b1e96e2
..
ac13301
100644
(file)
--- a/
lib/core/error.nit
+++ b/
lib/core/error.nit
@@
-79,7
+79,7
@@
class MaybeError[V, E: Error]
# REQUIRE: `not is_error`
fun value: V do return maybe_value.as(V)
- # The require
+ # The error
# REQUIRE: `is_error`
fun error: E do return maybe_error.as(E)