Skip to content

Commit

Permalink
switched to new default argument operator
Browse files Browse the repository at this point in the history
  • Loading branch information
zambal committed Feb 8, 2014
1 parent 38dba41 commit c040a99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/markdown.ex
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ defmodule Markdown do
"""
@spec to_html(doc :: String.t) :: String.t
@spec to_html(doc :: String.t, options :: Keyword.t) :: String.t
def to_html(doc, options // [])
def to_html(doc, options \\ [])

def to_html(_, _) do
exit(:nif_library_not_loaded)
Expand Down

0 comments on commit c040a99

Please sign in to comment.