fix(lint): prevent linter hint

This commit is contained in:
EdJoPaTo
2022-01-19 13:48:14 +01:00
parent f0bbd09603
commit 1722aa02b7
Executable → Regular
+1
View File
@@ -152,6 +152,7 @@ impl<'a> Tree<'a> {
}
}
#[allow(clippy::missing_const_for_fn)]
pub fn block(mut self, block: Block<'a>) -> Self {
self.block = Some(block);
self