Skip to content

Commit 6dd0d2d

Browse files
authored
Fix a comment
1 parent 9689ada commit 6dd0d2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_mir/monomorphize/collector.rs

+1-1
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)