Skip to content

Commit 74ee6ec

Browse files
committed
Merge branch 'newsch:master' into master
1 parent a7d3dd9 commit 74ee6ec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,8 @@ impl<T> Tree<T> {
207207
}
208208

209209
/// Merge with another tree as orphan, returning the new root of tree being merged.
210+
// Allowing this for compactness.
211+
#[allow(clippy::option_map_unit_fn)]
210212
pub fn extend_tree(&mut self, mut other_tree: Tree<T>) -> NodeMut<T> {
211213
let offset = self.vec.len();
212214
let offset_id = |id: NodeId| -> NodeId {

0 commit comments

Comments
 (0)