Skip to content

Commit 30bf7ea

Browse files
committed
Use a pipeline
1 parent 9df84ae commit 30bf7ea

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/sneeze.ex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ defmodule Sneeze do
3232
```
3333
"""
3434
def render(data) do
35-
IO.iodata_to_binary(_render(data))
35+
_render(data)
36+
|> IO.iodata_to_binary()
3637
end
3738

3839
@doc ~s"""

0 commit comments

Comments
 (0)