From f115c2a553fc16c97292a134bdd3a15ea4a04ec2 Mon Sep 17 00:00:00 2001 From: Dan McClory Date: Fri, 11 Jul 2014 18:41:41 -0400 Subject: [PATCH] fix variable name typo --- getting_started/meta/2.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getting_started/meta/2.markdown b/getting_started/meta/2.markdown index 005f64c5c..306d3d459 100644 --- a/getting_started/meta/2.markdown +++ b/getting_started/meta/2.markdown @@ -174,7 +174,7 @@ defmodule Sample do defmacro initialize_to_char_count(variables) do Enum.map variables, fn(name) -> var = Macro.var(name, nil) - value = Atom.to_string(name)|> String.length + length = Atom.to_string(name)|> String.length quote do unquote(var) = unquote(length) end