From 0b40be696eb1f1756d38261de538015e8cfe7772 Mon Sep 17 00:00:00 2001 From: Mark Mansi Date: Sat, 1 Dec 2018 18:24:11 -0600 Subject: [PATCH] link to raw identifiers --- src/libcore/macros.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/libcore/macros.rs b/src/libcore/macros.rs index a7fd3a08b4a66..5ba0e949483ae 100644 --- a/src/libcore/macros.rs +++ b/src/libcore/macros.rs @@ -239,7 +239,9 @@ macro_rules! debug_assert_ne { /// /// The `?` operator was added to replace `try!` and should be used instead. /// Furthermore, `try` is a reserved word in Rust 2018, so if you must use -/// it, you will need to use the raw-identifier syntax: `r#try`. +/// it, you will need to use the [raw-identifier syntax][ris]: `r#try`. +/// +/// [ris]: https://doc.rust-lang.org/nightly/rust-by-example/compatibility/raw_identifiers.html /// /// `try!` matches the given [`Result`]. In case of the `Ok` variant, the /// expression has the value of the wrapped value.