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
..
2020-09-23 13:48:21 +02:00
2020-10-05 22:29:07 +08:00
2020-09-28 14:51:03 -04:00
2020-10-07 19:51:36 -04:00
2020-09-24 09:00:04 +10:00
2020-09-22 23:36:08 +02:00
2020-10-05 23:29:43 +08:00
2020-10-07 19:51:36 -04:00
2020-10-08 22:24:37 -07:00