Skip to content

Commit be7f0c7

Browse files
ZalatharMuscraft
authored andcommitted
Rollup merge of rust-lang#146822 - saethlin:bbbbbstd, r=Noratrieb
Fix old typo in lang_start_internal comment Noticed this when reading the rt cleanup code; the typo was introduced during a mass port of libstd to std in comments.
2 parents fc061b1 + efbce22 commit be7f0c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/rt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ fn lang_start_internal(
161161
// mechanism itself.
162162
//
163163
// There are a couple of instances where unwinding can begin. First is inside of the
164-
// `rt::init`, `rt::cleanup` and similar functions controlled by bstd. In those instances a
164+
// `rt::init`, `rt::cleanup` and similar functions controlled by std. In those instances a
165165
// panic is a std implementation bug. A quite likely one too, as there isn't any way to
166166
// prevent std from accidentally introducing a panic to these functions. Another is from
167167
// user code from `main` or, more nefariously, as described in e.g. issue #86030.

0 commit comments

Comments
 (0)