Improve doc comment of AllocExtra's backtrace
Co-authored-by: Ralf Jung <post@ralfj.de>
This commit is contained in:
parent
cbc7f94f11
commit
fb68292b24
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue