From 64c622ebb11226b5c4c99affdd627af14e246fe8 Mon Sep 17 00:00:00 2001 From: Kuldeep Aggarwal Date: Fri, 10 Jun 2016 00:01:37 +0530 Subject: [PATCH] Update the `warning` note! --- getting-started/modules.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getting-started/modules.markdown b/getting-started/modules.markdown index 54b8e935b..74a934af1 100644 --- a/getting-started/modules.markdown +++ b/getting-started/modules.markdown @@ -259,7 +259,7 @@ end If we save the code above in a file named "concat.ex" and compile it, Elixir will emit the following warning: - concat.ex:7: this clause cannot match because a previous clause at line 2 always matches + concat.ex:7: warning: this clause cannot match because a previous clause at line 2 always matches The compiler is telling us that invoking the `join` function with two arguments will always choose the first definition of `join` whereas the second one will only be invoked when three arguments are passed: