Skip to content

Commit

Permalink
remove unused type parameter (#456)
Browse files Browse the repository at this point in the history
  • Loading branch information
palday authored Apr 14, 2023
1 parent b4afc92 commit 28a0a46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/convert/base.jl
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ sexp(::T, s::Ptr{S}) where {T, S<:Sxp} = s
sexp(::T, r::RObject{S}) where {T, S<:Sxp} = r

# nothing / missing
sexp(::Type{NilSxp}, ::Nothing) where T = sexp(Const.NilValue)
sexp(::Type{NilSxp}, ::Nothing) = sexp(Const.NilValue)
sexp(::Type{C}, ::Missing) where C<:RClass = naeltype(C)

# symbol
Expand Down

0 comments on commit 28a0a46

Please sign in to comment.