diff options
| author | nwin <nwin@users.noreply.github.com> | 2015-12-19 09:19:05 +0100 |
|---|---|---|
| committer | nwin <nwin@users.noreply.github.com> | 2015-12-19 09:19:05 +0100 |
| commit | aacdfb8a2a170ab2b718f309fb25cc3e203c3a15 (patch) | |
| tree | a129101dd2c63b8086efbcc7571eb2a598aebc85 | |
| parent | 67a2d1f34f917b6e583440b0a86767b2ff8e4d4f (diff) | |
| download | rust-aacdfb8a2a170ab2b718f309fb25cc3e203c3a15.tar.gz rust-aacdfb8a2a170ab2b718f309fb25cc3e203c3a15.zip | |
Update no-stdlib.md
Clarify the difference between compiler-panic and libcore-panic.
| -rw-r--r-- | src/doc/book/no-stdlib.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/book/no-stdlib.md b/src/doc/book/no-stdlib.md index 3a4d4c306dc..da84c6a3374 100644 --- a/src/doc/book/no-stdlib.md +++ b/src/doc/book/no-stdlib.md @@ -151,7 +151,7 @@ extern fn panic_fmt(args: &core::fmt::Arguments, # fn main() {} ``` -Note that there is one extra lang item here which differs from the examples +Note that there is one lang item here whose signature differs from the examples above, `panic_fmt`. This must be defined by consumers of libcore because the core library declares panics, but it does not define it. The `panic_fmt` lang item is this crate's definition of panic, and it must be guaranteed to |
