mirror of
https://github.com/joshuadavidthomas/django-language-server.git
synced 2025-09-07 02:40:38 +00:00
thanks clippy
This commit is contained in:
parent
095f885665
commit
dca173cfb5
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue