Improve doc comment of AllocExtra's backtrace
Co-authored-by: Ralf Jung <post@ralfj.de>
This commit is contained in:
parent
cbc7f94f11
commit
fb68292b24
@ -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>>>,
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user