Skip to content

Commit e482677

Browse files
authored
Rollup merge of #57062 - bjorn3:patch-1, r=varkor
Fix a comment
2 parents 4ebc7b7 + 6dd0d2d commit e482677

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_mir/monomorphize/collector.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
//!
140140
//! #### Boxes
141141
//! Since `Box` expression have special compiler support, no explicit calls to
142-
//! `exchange_malloc()` and `exchange_free()` may show up in MIR, even if the
142+
//! `exchange_malloc()` and `box_free()` may show up in MIR, even if the
143143
//! compiler will generate them. We have to observe `Rvalue::Box` expressions
144144
//! and Box-typed drop-statements for that purpose.
145145
//!

0 commit comments

Comments
 (0)