Skip to content

Commit a394b60

Browse files
saethlinRalfJung
andauthored
Update src/machine.rs
Co-authored-by: Ralf Jung <post@ralfj.de>
1 parent fc568d4 commit a394b60

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/machine.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ pub struct FrameData<'tcx> {
6161
/// `stacked_borrows::GlobalState` upon function return, and if we attempt to pop a protected
6262
/// tag, to identify which call is responsible for protecting the tag.
6363
/// See `Stack::item_popped` for more explanation.
64+
///
65+
/// This will contain one tag per reference passed to the function, so
66+
/// a size of 2 is enough for the vast majority of functions.
6467
pub protected_tags: SmallVec<[SbTag; 2]>,
6568
}
6669

0 commit comments

Comments
 (0)