add ";" for let = match
This commit is contained in:
parent
c69be483d6
commit
7c3befc7f9
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue