about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2018-12-22 14:39:45 +0100
committerGitHub <noreply@github.com>2018-12-22 14:39:45 +0100
commit6dd0d2d9bbc021fad2ca41ee4401306863af914c (patch)
tree759fd0b13b4284414eba54cd0801a9ccdfd09f67 /src
parent9689ada83891f63164bf117af35cc0abc37daaf1 (diff)
downloadrust-6dd0d2d9bbc021fad2ca41ee4401306863af914c.tar.gz
rust-6dd0d2d9bbc021fad2ca41ee4401306863af914c.zip
Fix a comment
Diffstat (limited to 'src')
-rw-r--r--src/librustc_mir/monomorphize/collector.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_mir/monomorphize/collector.rs b/src/librustc_mir/monomorphize/collector.rs
index a6239a8115a..8ab9cb42b82 100644
--- a/src/librustc_mir/monomorphize/collector.rs
+++ b/src/librustc_mir/monomorphize/collector.rs
@@ -139,7 +139,7 @@
 //!
 //! #### Boxes
 //! Since `Box` expression have special compiler support, no explicit calls to
-//! `exchange_malloc()` and `exchange_free()` may show up in MIR, even if the
+//! `exchange_malloc()` and `box_free()` may show up in MIR, even if the
 //! compiler will generate them. We have to observe `Rvalue::Box` expressions
 //! and Box-typed drop-statements for that purpose.
 //!