Skip to content

Commit 60457de

Browse files
ylxdzswStefanKarpinski
authored andcommitted
fix doc for rstrip (#31296)
I think it's a copy-paste error from `lstrip`
1 parent e9c77eb commit 60457de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/strings/util.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ lstrip(s::AbstractString, chars::Chars) = lstrip(in(chars), s)
170170
Remove trailing characters from `str`, either those specified by `chars` or those for
171171
which the function `pred` returns `true`.
172172
173-
The default behaviour is to remove leading whitespace and delimiters: see
173+
The default behaviour is to remove trailing whitespace and delimiters: see
174174
[`isspace`](@ref) for precise details.
175175
176176
The optional `chars` argument specifies which characters to remove: it can be a single

0 commit comments

Comments
 (0)