Skip to content

Commit 0aad529

Browse files
committed
Fix comment
1 parent ef9f0ab commit 0aad529

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/librustc/hir/lowering.rs

+3-6
Original file line numberDiff line numberDiff line change
@@ -1834,13 +1834,10 @@ impl<'a> LoweringContext<'a> {
18341834
ExprKind::Try(ref sub_expr) => {
18351835
// to:
18361836
//
1837-
// #[allow(unreachable_patterns)]
18381837
// match Carrier::translate(<expr>) {
1839-
// Ok(val) => {
1840-
// #[allow(unreachable_code)]
1841-
// val
1842-
// }
1843-
// Err(err) => return Carrier::from_error(From::from(err))
1838+
// Ok(val) => #[allow(unreachable_code)] val,
1839+
// Err(err) => #[allow(unreachable_code)]
1840+
// return Carrier::from_error(From::from(err)),
18441841
// }
18451842
let unstable_span = self.allow_internal_unstable("?", e.span);
18461843

0 commit comments

Comments
 (0)