Skip to content

Commit 57fd8c9

Browse files
committed
Add description for PyRefExact
1 parent f9f665b commit 57fd8c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vm/src/object/ext.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ impl<T: PyPayload> std::borrow::ToOwned for PyExact<T> {
107107
}
108108
}
109109

110+
/// PyRef but guaranteed not to be a subtype instance
110111
#[derive(Debug)]
111112
#[repr(transparent)]
112113
pub struct PyRefExact<T: PyObjectPayload> {

0 commit comments

Comments
 (0)