add ";" for let = match

This commit is contained in:
Devin R 2019-11-30 18:02:19 -05:00
parent c69be483d6
commit 7c3befc7f9

View file

@ -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);