mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-01 07:13:24 +03:00
std::r#try! - avoid link to nightly docs
Use a relative link to the current version of rust-by-example rather than sending people to the nightly version.
This commit is contained in:
@@ -445,7 +445,7 @@ macro_rules! matches {
|
||||
/// [raw-identifier syntax][ris]: `r#try`.
|
||||
///
|
||||
/// [propagating-errors]: https://doc.rust-lang.org/book/ch09-02-recoverable-errors-with-result.html#a-shortcut-for-propagating-errors-the--operator
|
||||
/// [ris]: https://doc.rust-lang.org/nightly/rust-by-example/compatibility/raw_identifiers.html
|
||||
/// [ris]: ../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.
|
||||
|
||||
Reference in New Issue
Block a user