Skip to content

Commit 2f50491

Browse files
authored
small nits from JET report (#1154)
* nits from jet * revert change to `diff`
1 parent 1b5a994 commit 2f50491

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/traits.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,6 @@ Base.LinearIndices(::Size{S}) where {S} = LinearIndices(S)
6565
@pure Base.:(==)(::Length{L}, l::Int) where {L} = L == l
6666
@pure Base.:(==)(l::Int, ::Length{L}) where {L} = l == L
6767

68-
# unroll_tuple also works with `Length`
69-
@propagate_inbounds unroll_tuple(f, ::Length{L}) where {L} = unroll_tuple(f, Val{L})
70-
7168
"""
7269
sizematch(::Size, ::Size)
7370
sizematch(::Tuple, ::Tuple)

0 commit comments

Comments
 (0)