mdwelsh commented on code in PR #6741:
URL: https://github.com/apache/tvm/pull/6741#discussion_r875279086
##########
rust/tvm-rt/src/object/object_ptr.rs:
##########
@@ -147,14 +148,26 @@ impl Object {
}
}
+// impl fmt::Debug for Object {
+// fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
+// let index =
+// format!("{} // key: {}", self.type_index, "the_key");
+
+// f.debug_struct("Object")
+// .field("type_index", &index)
+// // TODO(@jroesch: do we expose other fields?)
+// .finish()
+// }
+// }
+
Review Comment:
I'm leaving the code in for now, since I plan to refactor this later.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]