diff options
| author | Tyler Mandry <tmandry@gmail.com> | 2019-04-08 16:25:46 -0700 |
|---|---|---|
| committer | Tyler Mandry <tmandry@gmail.com> | 2019-04-25 10:12:57 -0700 |
| commit | 52e4407d46e687c17f49ab3046a56ab172c49709 (patch) | |
| tree | d0dc59ad3740e69ab07cdf857b622298c7452b35 | |
| parent | e305df1846a6d985315917ae0c81b74af8b4e641 (diff) | |
| download | rust-52e4407d46e687c17f49ab3046a56ab172c49709.tar.gz rust-52e4407d46e687c17f49ab3046a56ab172c49709.zip | |
Update comment for liveness_of_locals
| -rw-r--r-- | src/librustc_mir/util/liveness.rs | 3 |
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 { |
