let_if_seq: fix rewrite example

This commit is contained in:
Hoàng Đức Hiếu 2016-11-24 16:09:09 +07:00 committed by GitHub
parent 0b7de0d01f
commit 4215292793

View File

@ -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
/// };