Skip to content

Commit

Permalink
fix sizeof(str::AbstractString) docstring (#29414)
Browse files Browse the repository at this point in the history
  • Loading branch information
rfourquet authored and StefanKarpinski committed Sep 28, 2018
1 parent 6794778 commit e1f42b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base/strings/basic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ eltype(::Type{<:AbstractString}) = Char # some string types may use another Abst
"""
sizeof(str::AbstractString)
Size, in bytes, of the string `s`. Equal to the number of code units in `s` multiplied by
the size, in bytes, of one code unit in `s`.
Size, in bytes, of the string `str`. Equal to the number of code units in `str` multiplied by
the size, in bytes, of one code unit in `str`.
# Examples
```jldoctest
Expand Down

0 comments on commit e1f42b1

Please sign in to comment.