Fix warnings in cranelift-codegen docs builds (#5292)

This commit is contained in:
Nick Fitzgerald
2022-11-17 13:13:24 -08:00
committed by GitHub
parent 76c7b55072
commit 3b6544dc66
3 changed files with 4 additions and 4 deletions

View File

@@ -321,8 +321,8 @@ pub struct ExtFuncData {
/// flag is best used when the target is known to be in the same unit of code generation, such
/// as a Wasm module.
///
/// See the documentation for [`RelocDistance`](crate::machinst::RelocDistance) for more details. A
/// `colocated` flag value of `true` implies `RelocDistance::Near`.
/// See the documentation for `RelocDistance` for more details. A `colocated` flag value of
/// `true` implies `RelocDistance::Near`.
pub colocated: bool,
}

View File

@@ -70,7 +70,7 @@ pub enum GlobalValueData {
///
/// If `true`, some backends may use relocation forms that have limited range: for example,
/// a +/- 2^27-byte range on AArch64. See the documentation for
/// [`RelocDistance`](crate::machinst::RelocDistance) for more details.
/// `RelocDistance` for more details.
colocated: bool,
/// Does this symbol refer to a thread local storage value?