From 0bf6ce31e9889f2a606a03e061dca32d01d33e61 Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Thu, 10 Feb 2022 16:07:51 +0100 Subject: [PATCH] Fix doctests for CodeUnits indexing. (#44105) --- doc/src/manual/strings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/src/manual/strings.md b/doc/src/manual/strings.md index 5628c4fa96d81..ee2b3f9d71d54 100644 --- a/doc/src/manual/strings.md +++ b/doc/src/manual/strings.md @@ -1088,7 +1088,7 @@ julia> x[1] 0x31 julia> x[1] = 0x32 -ERROR: setindex! not defined for Base.CodeUnits{UInt8, String} +ERROR: CanonicalIndexError: setindex! not defined for Base.CodeUnits{UInt8, String} [...] julia> Vector{UInt8}(x)