Skip to content

Commit

Permalink
Fix typo in typespec
Browse files Browse the repository at this point in the history
  • Loading branch information
qcam committed May 15, 2020
1 parent eb6aa78 commit 653bc4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nabo/parser.ex
Original file line number Diff line number Diff line change
Expand Up @@ -87,5 +87,5 @@ defmodule Nabo.Parser do
"""

@callback parse(data :: binary, options :: any) ::
{:ok, parsed :: any} :: {:error, reason :: any}
{:ok, parsed :: any} | {:error, reason :: any}
end

0 comments on commit 653bc4d

Please sign in to comment.