Skip to content

Commit

Permalink
link to raw identifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-i-m committed Dec 3, 2018
1 parent 9c8802d commit 0b40be6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/libcore/macros.rs
Expand Up @@ -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.
Expand Down

0 comments on commit 0b40be6

Please sign in to comment.