Rollup merge of #152766 - DanielEScherzer:patch-1, r=joboet
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:
commit
25c6d11664
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue