Skip to content

Commit 98cdf21

Browse files
committed
switch to using new Base.Iterators module on v0.6
fixes deprecation warnings on v0.6. see JuliaLang/julia#18839 for more details.
1 parent 16a1f7b commit 98cdf21

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Showoff.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ VERSION >= v"0.4.0-dev+6641" && __precompile__()
33
module Showoff
44

55
using Compat
6-
using Iterators: drop
6+
if VERSION >= v"0.6.0-dev.1015"
7+
import Base.Iterators: drop
8+
else
9+
import Iterators: drop
10+
end
711

812
export showoff
913

0 commit comments

Comments
 (0)