File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ that provides a string representation of any underlying array of bytes
6
6
7
7
Unlike Julia's built-in ` String ` type (which also wraps UTF-8 data), the
8
8
` StringView ` type is a copy-free wrap of * any* ` AbstractVector{UInt8} `
9
- instance, and does not take "ownership" or modify the arrray . Otherwise,
9
+ instance, and does not take "ownership" of or modify the array . Otherwise,
10
10
a ` StringView ` is intended to be usable in any context where you might
11
11
have otherwise used ` String ` .
12
12
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ that provides a string representation of any underlying array of bytes
5
5
6
6
Unlike Julia's built-in `String` type (which also wraps UTF-8 data), the
7
7
`StringView` type is a copy-free wrap of *any* `AbstractVector{UInt8}`
8
- instance, and does not take "ownership" or modify the arrray . Otherwise,
8
+ instance, and does not take "ownership" of or modify the array . Otherwise,
9
9
a `StringView` is intended to be usable in any context where you might
10
10
have otherwise used `String`.
11
11
"""
@@ -17,7 +17,7 @@ export StringView
17
17
18
18
`StringView(array)` creates an `AbstractString` representation of
19
19
any `array` of `UInt8` data, interpreted as UTF-8 encoded Unicode.
20
- It does *not* make a copy of `array`.
20
+ It does *not* make a copy of or modify `array`.
21
21
"""
22
22
struct StringView{T} <: AbstractString where {T<: AbstractVector{UInt8} }
23
23
data:: T
You can’t perform that action at this time.
0 commit comments