diff --git a/base/strings/util.jl b/base/strings/util.jl index fca9ca1406cb0..c4c4459545128 100644 --- a/base/strings/util.jl +++ b/base/strings/util.jl @@ -491,7 +491,7 @@ throwing an `ArgumentError` indicating the position of the first non-ASCII byte. julia> ascii("abcdeγfgh") ERROR: ArgumentError: invalid ASCII at index 6 in "abcdeγfgh" Stacktrace: - [1] ascii(::String) at ./strings/util.jl:475 + [1] ascii(::String) at ./strings/util.jl:479 julia> ascii("abcdefgh") "abcdefgh"