From b0b207e70500cb085b0143af891856de1707a26f Mon Sep 17 00:00:00 2001 From: Tony Kelman Date: Thu, 5 May 2016 01:57:40 -0400 Subject: [PATCH] Remove a duplicate convert method --- base/unicode/utf8.jl | 1 - 1 file changed, 1 deletion(-) diff --git a/base/unicode/utf8.jl b/base/unicode/utf8.jl index ded4d5ed630c66..0e7da162a405cf 100644 --- a/base/unicode/utf8.jl +++ b/base/unicode/utf8.jl @@ -307,7 +307,6 @@ function convert(::Type{String}, a::Vector{UInt8}, invalids_as::AbstractString) end String(a) end -convert(::Type{String}, s::AbstractString) = utf8(bytestring(s)) """ Converts an already validated vector of `UInt16` or `UInt32` to a `String`