Skip to content

Commit 384e3ac

Browse files
mhaurupenelopeysm
andauthored
Apply suggestions from code review
Co-authored-by: Penelope Yong <penelopeysm@gmail.com>
1 parent bccfdf0 commit 384e3ac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/varnamedtuple.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ julia> pa = PartialArray{Int,2}((1,2) => 5, (3,4) => 10)
132132
PartialArray{Int64,2}((1, 2) => 5, (3, 4) => 10)
133133
```
134134
135-
The optional keywoard argument `min_size` can be used to specify the minimum initial size.
135+
The optional keyword argument `min_size` can be used to specify the minimum initial size.
136136
This is purely a performance optimisation, to avoid resizing if the eventual size is known
137137
ahead of time.
138138
"""
@@ -521,9 +521,9 @@ end
521521
"""
522522
varname_to_lens(name::VarName{S}) where {S}
523523
524-
Convert a `VarName` to an `Accessor` lens, wrapping the first symdol in a `PropertyLens`.
524+
Convert a `VarName` to an `Accessor` lens, wrapping the first symbol in a `PropertyLens`.
525525
526-
This is used to simplify method dispatch for `_getindx`, `_setindex!!`, and `_haskey`, by
526+
This is used to simplify method dispatch for `_getindex`, `_setindex!!`, and `_haskey`, by
527527
considering `VarName`s to just be a special case of lenses.
528528
"""
529529
function _varname_to_lens(name::VarName{S}) where {S}

0 commit comments

Comments
 (0)