let_if_seq: fix rewrite example
This commit is contained in:
parent
0b7de0d01f
commit
4215292793
@ -31,13 +31,13 @@
|
||||
///
|
||||
/// ```rust,ignore
|
||||
/// let foo = if bar() {
|
||||
/// 42;
|
||||
/// 42
|
||||
/// } else {
|
||||
/// 0;
|
||||
/// 0
|
||||
/// };
|
||||
///
|
||||
/// let baz = if bar() {
|
||||
/// Some(42);
|
||||
/// Some(42)
|
||||
/// } else {
|
||||
/// None
|
||||
/// };
|
||||
|
Loading…
Reference in New Issue
Block a user