From c017755b9bfa0421570d92ba38082302e0f3ad4f Mon Sep 17 00:00:00 2001 From: CGMossa Date: Tue, 3 Dec 2024 23:27:56 +0100 Subject: [PATCH] Update 1946-intra-rustdoc-links.md Fixed extra \` --- text/1946-intra-rustdoc-links.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/text/1946-intra-rustdoc-links.md b/text/1946-intra-rustdoc-links.md index 19e24809ea0..d7c1d8685fc 100644 --- a/text/1946-intra-rustdoc-links.md +++ b/text/1946-intra-rustdoc-links.md @@ -481,7 +481,7 @@ For example, this should issue a warning: ```rust #[derive(Debug)] /// Link to [S::fmt] -struct S;` +struct S; ``` but this should link to the implementation of `Debug::fmt` for `S`: @@ -491,7 +491,7 @@ use std::fmt::Debug; #[derive(Debug)] /// Link to [S::fmt] -struct S;` +struct S; ``` [ref-ufcs]: https://github.com/rust-lang-nursery/reference/blob/96e976d32a0a6927dd26c2ee805aaf44ef3bef2d/src/expressions.md#disambiguating-function-calls