From 52e4407d46e687c17f49ab3046a56ab172c49709 Mon Sep 17 00:00:00 2001 From: Tyler Mandry Date: Mon, 8 Apr 2019 16:25:46 -0700 Subject: [PATCH] Update comment for liveness_of_locals --- src/librustc_mir/util/liveness.rs | 3 +-- 1 file changed, 1 insertion(+), 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 {