Skip to content

Commit aacdfb8

Browse files
committed
Update no-stdlib.md
Clarify the difference between compiler-panic and libcore-panic.
1 parent 67a2d1f commit aacdfb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/book/no-stdlib.md

+1-1
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)