diff --git a/lib/feed_reader/format.ex b/lib/feed_reader/format.ex index ff52156..0d4a051 100644 --- a/lib/feed_reader/format.ex +++ b/lib/feed_reader/format.ex @@ -8,7 +8,7 @@ defmodule FeedReader.Format do """ @callback id() :: atom() - @callback detect(prefix :: binary()) :: :match | :no_match + @callback matches_prefix?(prefix :: binary()) :: boolean() @callback handler() :: module() @callback new_parser_state(event_sink :: function(), opts :: keyword()) :: term()