rust/library/alloc
Matthias Krüger 41369b734d
Rollup merge of #109598 - veera-sivarajan:improve-wording, r=thomcc
Improve documentation for str::replace() and str::replacen()

Currently, to know what the function will return when the pattern doesn't match, the docs require the reader to understand the implementation detail and mentally evaluate or run the example code. It is not immediately clear.

This PR makes it more explicit so the reader can quickly find the information.
2023-03-31 08:03:14 +02:00
..
benches Auto merge of #106241 - Sp00ph:vec_deque_iter_methods, r=the8472 2023-02-18 20:12:35 +00:00
src Rollup merge of #109598 - veera-sivarajan:improve-wording, r=thomcc 2023-03-31 08:03:14 +02:00
tests Auto merge of #105587 - tgross35:once-cell-min, r=m-ou-se 2023-03-30 10:12:23 +00:00
Cargo.toml Update rand in the stdlib tests, and remove the getrandom feature from it 2023-01-04 14:52:41 -08:00