]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #32591 - CryZe:patch-1, r=steveklabnik
authorSteve Klabnik <steve@steveklabnik.com>
Wed, 30 Mar 2016 17:16:54 +0000 (10:16 -0700)
committerSteve Klabnik <steve@steveklabnik.com>
Wed, 30 Mar 2016 17:16:54 +0000 (10:16 -0700)
Fix panic_fmt in the Book

While implementing panic_fmt for the GameCube I noticed that the parameters given to it were completely broken. Turns out that panic_fmt requires the C ABI to work correctly. This should be fixed in the documentation, so that others don't make the same mistake. Thanks to mbrubeck in the IRC for helping me figure this out.

Not specifying extern for lang_items correctly should potentially also be a compiler error.


Trivial merge