diff options
| author | metamuffin <metamuffin@disroot.org> | 2026-03-03 04:16:31 +0100 |
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2026-03-03 04:16:31 +0100 |
| commit | 0b07910ad847a8c4431b8be244b7105b7b23f6e2 (patch) | |
| tree | c01a2c98b72c34e3b5d512ed4bf71e083915c79b /common/object | |
| parent | b6b6c48926f1cff9cdcfbdfb0f3a2065c3e1dacf (diff) | |
| download | jellything-0b07910ad847a8c4431b8be244b7105b7b23f6e2.tar jellything-0b07910ad847a8c4431b8be244b7105b7b23f6e2.tar.bz2 jellything-0b07910ad847a8c4431b8be244b7105b7b23f6e2.tar.zst | |
fix crash on extend_multi
Diffstat (limited to 'common/object')
| -rw-r--r-- | common/object/src/lib.rs | 3 |
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] |