Skip to content

Commit 25c6d11

Browse files
Rollup merge of rust-lang#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.
2 parents cf32cab + 4deff63 commit 25c6d11

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

library/core/src/macros/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ macro_rules! matches {
445445
/// [raw-identifier syntax][ris]: `r#try`.
446446
///
447447
/// [propagating-errors]: https://doc.rust-lang.org/book/ch09-02-recoverable-errors-with-result.html#a-shortcut-for-propagating-errors-the--operator
448-
/// [ris]: https://doc.rust-lang.org/nightly/rust-by-example/compatibility/raw_identifiers.html
448+
/// [ris]: ../rust-by-example/compatibility/raw_identifiers.html
449449
///
450450
/// `try!` matches the given [`Result`]. In case of the `Ok` variant, the
451451
/// expression has the value of the wrapped value.

0 commit comments

Comments
 (0)