Skip to content

Commit

Permalink
Remove a duplicate convert method
Browse files Browse the repository at this point in the history
  • Loading branch information
tkelman committed May 5, 2016
1 parent 674a4d7 commit b0b207e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion base/unicode/utf8.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit b0b207e

Please sign in to comment.