Skip to content

Commit

Permalink
switch to using new Base.Iterators module on v0.6
Browse files Browse the repository at this point in the history
fixes deprecation warnings on v0.6. see JuliaLang/julia#18839 for more
details.
  • Loading branch information
tlnagy committed Nov 22, 2016
1 parent 16a1f7b commit 98cdf21
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Showoff.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ VERSION >= v"0.4.0-dev+6641" && __precompile__()
module Showoff

using Compat
using Iterators: drop
if VERSION >= v"0.6.0-dev.1015"
import Base.Iterators: drop
else
import Iterators: drop
end

export showoff

Expand Down

0 comments on commit 98cdf21

Please sign in to comment.