Skip to content

Commit

Permalink
add ";" for let = match
Browse files Browse the repository at this point in the history
  • Loading branch information
DevinR528 committed Nov 30, 2019
1 parent c69be48 commit 7c3befc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/keyword_docs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@ mod loop_keyword { }
/// let x = match opt {
/// Some(int) => int,
/// None => 10,
/// }
/// };
/// assert_eq!(x, 10);
///
/// let a_number = Option::Some(10);
Expand Down

0 comments on commit 7c3befc

Please sign in to comment.