Skip to content

Commit 29e37b8

Browse files
authored
Fix rustdoc warnings in Rust 1.73 (#978)
1 parent 2d7b569 commit 29e37b8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/plan/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
//!
33
//! This module provides various GC plans, each of which implements a GC algorithm.
44
//! Generally a plan consists of a few parts:
5-
//! * A plan type that implements the [`Plan`](crate::plan::Plan) trait, which defines
5+
//! * A plan type that implements the [`Plan`] trait, which defines
66
//! spaces used in the plan, and their behaviors in GC and page accounting.
77
//! * A mutator definition, which describes the mapping between allocators and allocation semantics,
88
//! and the mapping between allocators and spaces. If the plan needs barrier, the barrier definition is
99
//! also included here.
10-
//! * A constant for [`PlanConstraints`](crate::plan::PlanConstraints), which defines
10+
//! * A constant for [`PlanConstraints`], which defines
1111
//! plan-specific constants.
1212
//! * Plan-specific [`GCWork`](crate::scheduler::GCWork), which is scheduled during GC.
1313
//!

src/util/alloc/allocators.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ pub enum AllocatorSelector {
190190
}
191191

192192
/// This type describes allocator information. It is used to
193-
/// generate fast paths for the GC. All offset fields are relative to [`Mutator`](crate::Mutator).
193+
/// generate fast paths for the GC. All offset fields are relative to [`Mutator`].
194194
#[repr(C, u8)]
195195
#[derive(Copy, Clone, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, Default)]
196196
pub enum AllocatorInfo {

0 commit comments

Comments
 (0)