Update comment for liveness_of_locals
This commit is contained in:
parent
e305df1846
commit
52e4407d46
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user