You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add missing docs for the rest of the util module (#1026)
This PR is a step towards #309.
* Deny `missing_docs` for the `util` module and the `vm` module.
* Change some items from `pub` to `pub(crate)`.
* Remove some unused constants.
/// Cast the object reference to its raw address. This method is mostly for the convinience of a binding.
@@ -511,6 +520,9 @@ impl ObjectReference {
511
520
VM::VMObjectModel::ref_to_header(self)
512
521
}
513
522
523
+
/// Get the start of the allocation address for the object. This method is used by MMTk to get the start of the allocation
524
+
/// address originally returned from [`crate::memory_manager::alloc`] for the object.
525
+
/// This method is syntactic sugar for [`crate::vm::ObjectModel::ref_to_object_start`]. See comments on [`crate::vm::ObjectModel::ref_to_object_start`].
0 commit comments