Skip to content

Commit 40b14f6

Browse files
committed
doc typo
1 parent 2d53794 commit 40b14f6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ that provides a string representation of any underlying array of bytes
66

77
Unlike Julia's built-in `String` type (which also wraps UTF-8 data), the
88
`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,
1010
a `StringView` is intended to be usable in any context where you might
1111
have otherwise used `String`.
1212

src/StringViews.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ that provides a string representation of any underlying array of bytes
55
66
Unlike Julia's built-in `String` type (which also wraps UTF-8 data), the
77
`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,
99
a `StringView` is intended to be usable in any context where you might
1010
have otherwise used `String`.
1111
"""
@@ -17,7 +17,7 @@ export StringView
1717
1818
`StringView(array)` creates an `AbstractString` representation of
1919
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`.
2121
"""
2222
struct StringView{T} <: AbstractString where {T<:AbstractVector{UInt8}}
2323
data::T

0 commit comments

Comments
 (0)