make clear that invalidate
just replaces with default
This commit is contained in:
parent
9a447a232e
commit
e35698371d
@ -189,8 +189,7 @@ pub enum BreakableTarget {
|
||||
|
||||
impl CachedBlock {
|
||||
fn invalidate(&mut self) {
|
||||
self.generator_drop = None;
|
||||
self.unwind = None;
|
||||
*self = CachedBlock::default();
|
||||
}
|
||||
|
||||
fn get(&self, generator_drop: bool) -> Option<BasicBlock> {
|
||||
|
Loading…
Reference in New Issue
Block a user