summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ocaml.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/ocaml.html.markdown b/ocaml.html.markdown
index fd5b9b2e..1732f7be 100644
--- a/ocaml.html.markdown
+++ b/ocaml.html.markdown
@@ -297,7 +297,7 @@ let is_zero x =
;;
(* Alternatively, you can use the "function" keyword. *)
-let is_one x = function
+let is_one = function
| 1 -> true
| _ -> false
;;