Skip to content

Commit f6cb7c1

Browse files
Merge pull request #21 from magistere/contains
Remove deprecated 'contains' function
2 parents 473e09e + 59b13f6 commit f6cb7c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/deparse.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ function deparse(ex::Expr)
22
if ex.head != :call
33
return string(ex)
44
else
5-
if contains([:+, :-, :*, :/, :^], ex.args[1])
5+
if ex.args[1] in [:+, :-, :*, :/, :^]
66
if length(ex.args) == 2
77
return string(ex.args[1], deparse(ex.args[2]))
88
else

0 commit comments

Comments
 (0)