Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaqz committed Mar 3, 2024
1 parent 54210a4 commit 1dfc7f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion BaseInterfaces/src/interfaces/array.jl
Original file line number Diff line number Diff line change
Expand Up @@ -201,4 +201,4 @@ array_components = (;

_wrappertype(A) = Base.typename(typeof(A)).wrapper

@interface ArrayInterface <: Union{IterationInterface{(:reverse,:indexing)}} AbstractArray array_components "Base Julia AbstractArray interface"
@interface ArrayInterface <: IterationInterface{(:reverse,:indexing)} AbstractArray array_components "Base Julia AbstractArray interface"
2 changes: 1 addition & 1 deletion BaseInterfaces/src/interfaces/dict.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

@interface DictInterface <: Union{IterationInterface{(:reverse,)}} AbstractDict ( # <: CollectionInterface
@interface DictInterface <: IterationInterface{(:reverse,)} AbstractDict ( # <: CollectionInterface
mandatory = (;
iterate = "AbstractDict follows the IterationInterface" => a -> Interfaces.test(IterationInterface, a.d; show=false) && first(iterate(a.d)) isa Pair,
eltype = "eltype is a Pair" => a -> eltype(a.d) <: Pair,
Expand Down

0 comments on commit 1dfc7f2

Please sign in to comment.