]> git.lizzy.rs Git - rust.git/commit
Add documentation for string->Cow conversions
authorMichael Howell <michael@notriddle.com>
Tue, 2 Mar 2021 23:37:50 +0000 (16:37 -0700)
committerMichael Howell <michael@notriddle.com>
Mon, 8 Mar 2021 03:36:43 +0000 (20:36 -0700)
commit69a37a63fa1d20286ffb7c6e74060634bc8ad5a4
tree9e9e61dc74cb1d6ad56842ff6ac83ea6b3ff2e70
parent8fd946c63a6c3aae9788bd459d278cb2efa77099
Add documentation for string->Cow conversions

Mostly, it's just to reassure everyone that these functions don't allocate.

Part of #51430
library/alloc/src/string.rs