Skip to content

Commit

Permalink
Fix doctests for CodeUnits indexing. (#44105)
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikekre authored Feb 10, 2022
1 parent 94bbfd4 commit 0bf6ce3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/src/manual/strings.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0bf6ce3

Please sign in to comment.