about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvuittont60 <81072379+vuittont60@users.noreply.github.com>2024-01-09 10:53:00 +0800
committervuittont60 <81072379+vuittont60@users.noreply.github.com>2024-01-09 10:53:00 +0800
commit4e8627cf8982e16c000f5b36e0cf505337ce467f (patch)
tree69b5726950e5a665c356908b65130ea6d1374115
parentb10f5dd3b9f33093030bda58b470d727128fa3ea (diff)
downloadrust-4e8627cf8982e16c000f5b36e0cf505337ce467f.tar.gz
rust-4e8627cf8982e16c000f5b36e0cf505337ce467f.zip
Fix typo src/base.rs
-rw-r--r--src/base.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base.rs b/src/base.rs
index b0788718da4..773e234150d 100644
--- a/src/base.rs
+++ b/src/base.rs
@@ -164,7 +164,7 @@ pub fn compile_codegen_unit(tcx: TyCtxt<'_>, cgu_name: Symbol, target_info: Lock
             context.add_driver_option("-v");
         }
 
-        // NOTE: The codegen generates unrechable blocks.
+        // NOTE: The codegen generates unreachable blocks.
         context.set_allow_unreachable_blocks(true);
 
         {