Improve doc comment of AllocExtra's backtrace

Co-authored-by: Ralf Jung <post@ralfj.de>
This commit is contained in:
Ben Kimock 2023-04-10 22:38:29 -04:00
parent cbc7f94f11
commit fb68292b24

View File

@ -264,7 +264,8 @@ pub struct AllocExtra<'tcx> {
pub weak_memory: Option<weak_memory::AllocState>,
/// A backtrace to where this allocation was allocated.
/// As this is recorded for leak reports, it only exists
/// if this allocation is leakable.
/// if this allocation is leakable. The backtrace is not
/// pruned yet; that should be done before printing it.
pub backtrace: Option<Vec<FrameInfo<'tcx>>>,
}