Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/cachex/spec/validator.ex
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ defmodule Cachex.Spec.Validator do
import Cachex.Spec

# internal spec to refer to each record type
@type record ::
@type cache_record ::
Cachex.Spec.command()
| Cachex.Spec.entry()
| Cachex.Spec.expiration()
Expand All @@ -31,7 +31,7 @@ defmodule Cachex.Spec.Validator do

This will delegate each record type to a customized validation function.
"""
@spec valid?(atom, record) :: boolean
@spec valid?(atom, cache_record) :: boolean

# Validates a command specification record.
#
Expand Down