doc: Fix links.

Since the `intra-doc-links` feature has been stabilized, we can see
more clearly that we have many broken links. This PR is an attempt to
fix them!
This commit is contained in:
Ivan Enderlin
2020-12-17 11:22:58 +01:00
parent bc0ba32424
commit 78faa4fa25
14 changed files with 38 additions and 38 deletions

View File

@@ -80,7 +80,7 @@ pub enum WasmError {
}
/// The error that can happen while parsing a `str`
/// to retrieve a [`CpuFeature`].
/// to retrieve a [`CpuFeature`](crate::target::CpuFeature).
#[derive(Debug)]
#[cfg_attr(feature = "std", derive(Error))]
pub enum ParseCpuFeatureError {

View File

@@ -82,8 +82,8 @@ pub type CustomSections = PrimaryMap<SectionIndex, CustomSection>;
#[derive(Debug, PartialEq, Eq, Clone)]
pub struct Dwarf {
/// The section index in the [`Compilation`] that corresponds to the exception frames.
/// More info:
/// https://refspecs.linuxfoundation.org/LSB_3.0.0/LSB-PDA/LSB-PDA/ehframechpt.html
/// [Learn
/// more](https://refspecs.linuxfoundation.org/LSB_3.0.0/LSB-PDA/LSB-PDA/ehframechpt.html).
pub eh_frame: SectionIndex,
}

View File

@@ -2,7 +2,7 @@
//! to another part of a program (or a different program that may have
//! been dynamically loaded) using a table of branch or jump instructions.
//!
//! Source: https://en.wikipedia.org/wiki/Branch_table
//! [Learn more](https://en.wikipedia.org/wiki/Branch_table).
use super::CodeOffset;
#[cfg(feature = "enable-serde")]

View File

@@ -2,7 +2,7 @@
//! code and data of a program and adjusting the code and data to reflect the
//! assigned addresses.
//!
//! Source: https://en.wikipedia.org/wiki/Relocation_(computing)
//! [Learn more](https://en.wikipedia.org/wiki/Relocation_(computing)).
//!
//! Each time a `Compiler` compiles a WebAssembly function (into machine code),
//! it also attaches if there are any relocations that need to be patched into

View File

@@ -4,7 +4,7 @@
//! called the function that threw the exception, and which
//! function called that one, and so forth.
//!
//! More info: https://en.wikipedia.org/wiki/Call_stack
//! [Learn more](https://en.wikipedia.org/wiki/Call_stack).
use crate::lib::std::vec::Vec;
#[cfg(feature = "enable-serde")]
use serde::{Deserialize, Serialize};