diff --git a/base/deprecated.jl b/base/deprecated.jl index fee8cb50b66708..6e1e94dd9dd95e 100644 --- a/base/deprecated.jl +++ b/base/deprecated.jl @@ -1354,9 +1354,8 @@ function hex2num(s::AbstractString) return reinterpret(Float64, parse(UInt64, s, 16)) end -@deprecate num2hex(x::Union{Float16,Float32,Float64}) = - hex(reintepret(Unsigned, x), sizeof(x)*2) -@deprecate num2hex(n::Integer) = hex(n, sizeof(n)*2) +@deprecate num2hex(x::Union{Float16,Float32,Float64}) hex(reintepret(Unsigned, x), sizeof(x)*2) +@deprecate num2hex(n::Integer) hex(n, sizeof(n)*2) # END 0.7 deprecations