Skip to content

Commit ef4bacd

Browse files
committed
Re-export Adapt.adapt
Sometimes, downstream packages have to manually call `adapt`. This commit re-exports `adapt` so that packages don't have to explicitly depend on `Adapt`
1 parent c968350 commit ef4bacd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/adapt.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
import Adapt
22

3+
import Adapt: adapt
4+
5+
export adapt
6+
37
"""
48
Adapt.adapt_structure(::Type{<:AbstractArray}, context::AbstractCommsContext)
59

0 commit comments

Comments
 (0)