rust/library/core
Ian Jackson dbb0583023 docs: Reword str::strip_prefix and strip_suffix a bit
"Some is returned with <some value>" is an awkward construction.
The use of the passive voice is a bit odd, and doesn't seem like the
house style.

So say instead "returns X, wrapped in `Some`", for which there is some
other precedent in stdlib.

Instead of repeating "with the prefix removed", say "after the
prefix".  This is a bit clearer that the original is not modified.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2020-10-12 14:47:55 +01:00
..
benches Use more efficient scheme for display u128/i128 2020-09-28 20:38:38 +00:00
src docs: Reword str::strip_prefix and strip_suffix a bit 2020-10-12 14:47:55 +01:00
tests Auto merge of #77594 - timvermeulen:chain_advance_by, r=scottmcm 2020-10-06 10:17:48 +00:00
Cargo.toml