about summary refs log tree commit diff
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-09-21 14:42:37 +1000
committerGitHub <noreply@github.com>2025-09-21 14:42:37 +1000
commit5224279572a24d63e36dc8dc4a3e4e73d393b490 (patch)
treebe3a18f152001ae1db567ae47437b35290617179
parentbe395723b59aab93fbb510fb20656272d5fa27b7 (diff)
parent5c0cb3af59e03b4248ae58ca4e65f14307320195 (diff)
downloadrust-5224279572a24d63e36dc8dc4a3e4e73d393b490.tar.gz
rust-5224279572a24d63e36dc8dc4a3e4e73d393b490.zip
Rollup merge of #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.
-rw-r--r--library/std/src/rt.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/rt.rs b/library/std/src/rt.rs
index b3f3b301e3d..8d95cc1fb57 100644
--- a/library/std/src/rt.rs
+++ b/library/std/src/rt.rs
@@ -161,7 +161,7 @@ fn lang_start_internal(
     // mechanism itself.
     //
     // There are a couple of instances where unwinding can begin. First is inside of the
-    // `rt::init`, `rt::cleanup` and similar functions controlled by bstd. In those instances a
+    // `rt::init`, `rt::cleanup` and similar functions controlled by std. In those instances a
     // panic is a std implementation bug. A quite likely one too, as there isn't any way to
     // prevent std from accidentally introducing a panic to these functions. Another is from
     // user code from `main` or, more nefariously, as described in e.g. issue #86030.