Skip to content

Commit cc27312

Browse files
committed
Rollup merge of rust-lang#30473 - nwin:patch-2, r=steveklabnik
Clarify the difference between compiler-panic and libcore-panic.
2 parents 1dce223 + aacdfb8 commit cc27312

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/book/no-stdlib.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ extern fn panic_fmt(args: &core::fmt::Arguments,
151151
# fn main() {}
152152
```
153153

154-
Note that there is one extra lang item here which differs from the examples
154+
Note that there is one lang item here whose signature differs from the examples
155155
above, `panic_fmt`. This must be defined by consumers of libcore because the
156156
core library declares panics, but it does not define it. The `panic_fmt`
157157
lang item is this crate's definition of panic, and it must be guaranteed to

0 commit comments

Comments
 (0)