Skip to content

Commit

Permalink
Merge pull request #589 from Jujumba/docs_autolinks_fix
Browse files Browse the repository at this point in the history
Fix autolinks in the documentation
  • Loading branch information
asomers authored Jul 7, 2024
2 parents 803873a + 142844f commit a0aff68
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mockall/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1273,7 +1273,7 @@ pub mod examples;
/// # Limitations
///
/// `#[automock]` can't handle everything. There are some cases where
/// you will need to use [`mock`] instead:
/// you will need to use [`mock!`] instead:
/// * Mocking a struct that has multiple `impl` blocks, including
/// structs that implement traits.
/// * Mocking a struct or trait defined in another crate.
Expand Down Expand Up @@ -1338,7 +1338,7 @@ pub use mockall_derive::concretize;

/// Manually mock a structure.
///
/// Sometimes `automock` can't be used. In those cases you can use `mock!`,
/// Sometimes [`automock`] can't be used. In those cases you can use `mock!`,
/// which basically involves repeating the struct's or trait's definitions.
///
/// The format is:
Expand Down Expand Up @@ -1368,7 +1368,7 @@ pub use mockall_derive::concretize;
/// }
/// # fn main() {}
/// ```
/// Mocking an unsupported `#[derive(X)]` attribute, e.g. `Clone`, is
/// Mocking an unsupported `#[derive(X)]` attribute, e.g. [`Clone`], is
/// similar.
/// ```
/// # use mockall_derive::mock;
Expand Down

0 comments on commit a0aff68

Please sign in to comment.