diff --git a/README.md b/README.md index b41a9f4..8837da9 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ defmodule MyLib do attach_function :puts, [:string], :int end -MyLib.puts(["Hello World from C stdlib"]) +MyLib.puts("Hello World from C stdlib") ``` ## Installation diff --git a/examples/basic.exs b/examples/basic.exs index f6583e6..18bd507 100644 --- a/examples/basic.exs +++ b/examples/basic.exs @@ -4,4 +4,4 @@ defmodule MyLib do attach_function :puts, [:string], :int end -MyLib.puts(["Hello World from C stdlib"]) +MyLib.puts("Hello World from C stdlib")