]> git.lizzy.rs Git - rust.git/commitdiff
Fix spelling error in comment (#974)
authorSerentty <noname422@gmail.com>
Sun, 19 Apr 2020 08:55:07 +0000 (04:55 -0400)
committerGitHub <noreply@github.com>
Sun, 19 Apr 2020 08:55:07 +0000 (10:55 +0200)
src/base.rs

index 16394fd50cf0859bc5edaeb49a42a5373dce9494..144199a5b4f54611a974b6f547d7b9d63c215e29 100644 (file)
@@ -29,7 +29,7 @@ pub(crate) fn trans_fn<'clif, 'tcx, B: Backend + 'static>(
     let mut func_ctx = FunctionBuilderContext::new();
     let mut bcx = FunctionBuilder::new(&mut context.func, &mut func_ctx);
 
-    // Predefine block's
+    // Predefine blocks
     let start_block = bcx.create_block();
     let block_map: IndexVec<BasicBlock, Block> = (0..mir.basic_blocks().len()).map(|_| bcx.create_block()).collect();