Skip to content

Commit 0bf6ce3

Browse files
authored
Fix doctests for CodeUnits indexing. (#44105)
1 parent 94bbfd4 commit 0bf6ce3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/manual/strings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1088,7 +1088,7 @@ julia> x[1]
10881088
0x31
10891089
10901090
julia> x[1] = 0x32
1091-
ERROR: setindex! not defined for Base.CodeUnits{UInt8, String}
1091+
ERROR: CanonicalIndexError: setindex! not defined for Base.CodeUnits{UInt8, String}
10921092
[...]
10931093
10941094
julia> Vector{UInt8}(x)

0 commit comments

Comments
 (0)