We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c999ed commit 9c8802dCopy full SHA for 9c8802d
src/libcore/macros.rs
@@ -238,6 +238,8 @@ macro_rules! debug_assert_ne {
238
/// with converting downstream errors.
239
///
240
/// The `?` operator was added to replace `try!` and should be used instead.
241
+/// Furthermore, `try` is a reserved word in Rust 2018, so if you must use
242
+/// it, you will need to use the raw-identifier syntax: `r#try`.
243
244
/// `try!` matches the given [`Result`]. In case of the `Ok` variant, the
245
/// expression has the value of the wrapped value.
0 commit comments