about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/alloc_system.rs
diff options
context:
space:
mode:
authorVeera <sveera.2001@gmail.com>2023-03-25 11:41:00 -0400
committerVeera <sveera.2001@gmail.com>2023-03-25 11:41:00 -0400
commit9fe3a39e3467da1c8a291e7c16f498e3aacfd353 (patch)
treea185716cf00208b9d6235354b598fc7f41e2bd03 /compiler/rustc_codegen_gcc/example/alloc_system.rs
parentb72e896268bd741a2a2bb10028dca9e6f8d0ae63 (diff)
downloadrust-9fe3a39e3467da1c8a291e7c16f498e3aacfd353.tar.gz
rust-9fe3a39e3467da1c8a291e7c16f498e3aacfd353.zip
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.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/alloc_system.rs')
0 files changed, 0 insertions, 0 deletions