thanks clippy

This commit is contained in:
Josh Thomas 2025-01-06 22:58:13 -06:00
parent 095f885665
commit dca173cfb5

View file

@ -185,9 +185,9 @@ impl Block {
}
}
pub fn closing(&self) -> Option<&Box<Block>> {
pub fn closing(&self) -> Option<&Block> {
match self {
Block::Block { closing, .. } => closing.as_ref(),
Block::Block { closing, .. } => closing.as_deref(),
_ => None,
}
}