Skip to content

Commit

Permalink
Update redundant typespec (#398)
Browse files Browse the repository at this point in the history
  • Loading branch information
HansGlimmerfors authored Jan 23, 2025
1 parent 361d1aa commit dae0e1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cachex.ex
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ defmodule Cachex do
"""
@spec fetch(Cachex.t(), any, function(), Keyword.t()) ::
{status | :commit | :ignore, any} | {:commit, any}
{status | :commit | :ignore, any}
def fetch(cache, key, fallback, options \\ [])
when is_function(fallback) and is_list(options),
do: Router.route(cache, {:fetch, [key, fallback, options]})
Expand Down

0 comments on commit dae0e1a

Please sign in to comment.