Skip to content

Commit

Permalink
fix doc for rstrip (JuliaLang#31296)
Browse files Browse the repository at this point in the history
I think it's a copy-paste error from `lstrip`
  • Loading branch information
ylxdzsw authored and StefanKarpinski committed Mar 8, 2019
1 parent e9c77eb commit 60457de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/strings/util.jl
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ lstrip(s::AbstractString, chars::Chars) = lstrip(in(chars), s)
Remove trailing characters from `str`, either those specified by `chars` or those for
which the function `pred` returns `true`.
The default behaviour is to remove leading whitespace and delimiters: see
The default behaviour is to remove trailing whitespace and delimiters: see
[`isspace`](@ref) for precise details.
The optional `chars` argument specifies which characters to remove: it can be a single
Expand Down

0 comments on commit 60457de

Please sign in to comment.