about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTyler Mandry <tmandry@gmail.com>2019-04-08 16:25:46 -0700
committerTyler Mandry <tmandry@gmail.com>2019-04-25 10:12:57 -0700
commit52e4407d46e687c17f49ab3046a56ab172c49709 (patch)
treed0dc59ad3740e69ab07cdf857b622298c7452b35
parente305df1846a6d985315917ae0c81b74af8b4e641 (diff)
downloadrust-52e4407d46e687c17f49ab3046a56ab172c49709.tar.gz
rust-52e4407d46e687c17f49ab3046a56ab172c49709.zip
Update comment for liveness_of_locals
-rw-r--r--src/librustc_mir/util/liveness.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librustc_mir/util/liveness.rs b/src/librustc_mir/util/liveness.rs
index cbdd50cf405..0cebc57e1b6 100644
--- a/src/librustc_mir/util/liveness.rs
+++ b/src/librustc_mir/util/liveness.rs
@@ -55,8 +55,7 @@ pub struct LivenessResult {
 }
 
 /// Computes which local variables are live within the given function
-/// `mir`. The liveness mode `mode` determines what sorts of uses are
-/// considered to make a variable live (e.g., do drops count?).
+/// `mir`, including drops.
 pub fn liveness_of_locals<'tcx>(
     mir: &Mir<'tcx>,
 ) -> LivenessResult {