Skip to content

Commit 7c3befc

Browse files
committed
add ";" for let = match
1 parent c69be48 commit 7c3befc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/keyword_docs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,7 @@ mod loop_keyword { }
822822
/// let x = match opt {
823823
/// Some(int) => int,
824824
/// None => 10,
825-
/// }
825+
/// };
826826
/// assert_eq!(x, 10);
827827
///
828828
/// let a_number = Option::Some(10);

0 commit comments

Comments
 (0)