aboutsummaryrefslogtreecommitdiff
path: root/common/object/src/lib.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2026-01-07 04:03:34 +0100
committermetamuffin <metamuffin@disroot.org>2026-01-07 04:03:34 +0100
commit7cc5fe5cd008072b99fc470b0ed730f7fa4e2881 (patch)
tree5ae0e65497528342d3b21dd343ace364a61fb82c /common/object/src/lib.rs
parentf932d4de439c6472d34ed4bbf530fca13b84d73a (diff)
downloadjellything-7cc5fe5cd008072b99fc470b0ed730f7fa4e2881.tar
jellything-7cc5fe5cd008072b99fc470b0ed730f7fa4e2881.tar.bz2
jellything-7cc5fe5cd008072b99fc470b0ed730f7fa4e2881.tar.zst
debug inpect impl
Diffstat (limited to 'common/object/src/lib.rs')
-rw-r--r--common/object/src/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/object/src/lib.rs b/common/object/src/lib.rs
index 540ce1c..0f059b0 100644
--- a/common/object/src/lib.rs
+++ b/common/object/src/lib.rs
@@ -6,6 +6,7 @@
#![feature(iter_array_chunks)]
mod buffer;
+pub mod inspect;
mod registry;
#[cfg(test)]
mod tests;
@@ -93,7 +94,7 @@ impl<'a> Object<'a> {
pub fn get<'b: 'a, T: Value<'b>>(&'b self, tag: TypedTag<T>) -> Option<T> {
self.get_typed(self.find_field(tag.0)?)
}
- pub fn keys<'b: 'a, T>(&'b self) -> ObjectIter<'b> {
+ pub fn keys<'b: 'a>(&'b self) -> ObjectIter<'b> {
ObjectIter {
object: self,
index: 0,