]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #81864 - ijackson:globalalloc-example, r=Amanieu
authorEric Huss <eric@huss.org>
Wed, 21 Jul 2021 17:12:26 +0000 (10:12 -0700)
committerGitHub <noreply@github.com>
Wed, 21 Jul 2021 17:12:26 +0000 (10:12 -0700)
commita3e1259c4db320af14a24041dc04db5a78073508
tree0cfdea3e19ceaf5e07a954d547b3043360e415c5
parent05f2326c0570fdd64f53532a089bbbc361d190e6
parent03d7001564d140a3607a77fe02a5b1aaca0031d6
Rollup merge of #81864 - ijackson:globalalloc-example, r=Amanieu

docs: GlobalAlloc: completely replace example with one that works

Since this is an example, this could really do with some review from someone familiar with unsafe stuff!

I made the example no longer `no_run` since it works for me.

Fixes #81847