Skip to content

Commit

Permalink
Update src/tag_gc.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Ralf Jung <[email protected]>
  • Loading branch information
saethlin and RalfJung authored Oct 11, 2023
1 parent aadf935 commit a9ec758
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tag_gc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ use crate::*;
pub type TagVisitor<'a> = dyn FnMut(Option<AllocId>, Option<BorTag>) + 'a;

pub trait VisitTags {
/// Will be called on all pointers in the state, as well as any
/// other place where we store `AllocId` and/or `BorTag`.
fn visit_tags(&self, visit: &mut TagVisitor<'_>);
}

Expand Down

0 comments on commit a9ec758

Please sign in to comment.