aboutsummaryrefslogtreecommitdiff
path: root/common/object
diff options
context:
space:
mode:
Diffstat (limited to 'common/object')
-rw-r--r--common/object/src/lib.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/object/src/lib.rs b/common/object/src/lib.rs
index 783871b..3be4d6f 100644
--- a/common/object/src/lib.rs
+++ b/common/object/src/lib.rs
@@ -20,7 +20,6 @@ pub use path::*;
pub use tag::*;
pub use value::*;
-use core::{marker::Sized, todo};
use std::{collections::BTreeSet, hash::Hash, marker::PhantomData};
#[derive(Hash, PartialEq, Eq)]
@@ -195,7 +194,7 @@ impl Object {
if any_new {
self.insert_multi(TypedTag::<Object>::new(tag.0), &new_vals)
} else {
- todo!()
+ self.to_owned()
}
}
#[must_use]