Skip to content

Commit a440c4a

Browse files
author
Jorge Aparicio
committed
fix ? expansion in comment
1 parent 346d0d5 commit a440c4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/run-pass/try-operator-hygiene.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
//
1313
// match expr {
1414
// Ok(val) => val,
15-
// Err(err) => return From::from(err),
15+
// Err(err) => return Err(From::from(err)),
1616
// }
1717
//
1818
// This test verifies that the expansion is hygienic, i.e. it's not affected by other `val` and

0 commit comments

Comments
 (0)