Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
N5N3 authored Nov 2, 2023
1 parent a2b9f5d commit a68073f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/StructArraysAdaptExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module StructArraysAdaptExt
# Use Adapt allows for automatic conversion of CPU to GPU StructArrays
using Adapt, StructArrays
@static if !applicable(Adapt.adapt, Int)
# Adapt.jl has curried support, implement it ourself
# Adapt.jl has no curried support, implement it ourself
adpat(to) = Base.Fix1(Adapt.adapt, to)

Check warning on line 6 in ext/StructArraysAdaptExt.jl

View check run for this annotation

Codecov / codecov/patch

ext/StructArraysAdaptExt.jl#L6

Added line #L6 was not covered by tests
if VERSION < v"1.9.0-DEV.857"
@eval function adapt(to::Type{T}) where {T}
Expand Down

0 comments on commit a68073f

Please sign in to comment.