diff options
Diffstat (limited to 'common/object/src/lib.rs')
| -rw-r--r-- | common/object/src/lib.rs | 3 |
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, |