Skip to content

Commit 48ea6d0

Browse files
committed
Minor fixes
Fixing typos
1 parent 45cdf31 commit 48ea6d0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/userguide/src/migration/prefix.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ See also:
8080

8181
## 0.27.0
8282

83-
### `is_mmtk_object` returns `Option<ObjectReference>
83+
### `is_mmtk_object` returns `Option<ObjectReference>`
8484

8585
```admonish tldr
8686
`memory_manager::is_mmtk_object` now returns `Option<ObjectReference>` instead of `bool`.

src/util/reference_processor.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ impl ReferenceProcessor {
223223

224224
// These funcions call `trace_object()`, which will ensure the object and its descendents will
225225
// be traced. They are only called in steps that expand the transitive closure. That include
226-
// retaining soft references, and (for MarkSweep) tracing objects for forwarding.
226+
// retaining soft references, and (for MarkCompact) tracing objects for forwarding.
227227
// Note that finalizers also expand the transitive closure.
228228
// These functions are intended to make the code easier to understand.
229229

src/vm/reference_glue.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ pub trait ReferenceGlue<VM: VMBinding> {
2828
/// Get the referent from a weak reference object.
2929
///
3030
/// Arguments:
31-
/// * `object`: Reference to the referent. `None`` if the object currently does not point to a
31+
/// * `object`: Reference to the referent. `None` if the object currently does not point to a
3232
/// referent. This may happen if the reference has been cleared.
3333
fn get_referent(object: ObjectReference) -> Option<ObjectReference>;
3434

0 commit comments

Comments
 (0)