]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #98710 - mojave2:string, r=JohnTitor
authorYuki Okushi <jtitor@2k36.org>
Mon, 25 Jul 2022 22:14:45 +0000 (07:14 +0900)
committerGitHub <noreply@github.com>
Mon, 25 Jul 2022 22:14:45 +0000 (07:14 +0900)
commitb8aab9781a76f4498cc3819674397dedad37f20b
tree6f737391ba18b3d28fbc5da40685e24e5079a178
parent29892759f6a712b341b35fa66ae485dbe348616f
parent6c3ca7e41870e06469838acefa4a63709f1f802f
Rollup merge of #98710 - mojave2:string, r=JohnTitor

correct the output of a `capacity` method example

The output of this example in std::alloc is different from which shown in the comment. I have tested it on both Linux and Windows.
library/alloc/src/string.rs