about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlex Burka <durka42+github@gmail.com>2015-10-12 01:54:44 -0400
committerAlex Burka <durka42+github@gmail.com>2015-10-12 01:54:44 -0400
commit3632b93d7afe5af15c9daa7e86b775c54ccfbd29 (patch)
treeade2701d58118fd76e35605d32888332abbff743 /src
parent0bb4cbe85959b5d1cf4e1bb72481e55ebd9a1efe (diff)
downloadrust-3632b93d7afe5af15c9daa7e86b775c54ccfbd29.tar.gz
rust-3632b93d7afe5af15c9daa7e86b775c54ccfbd29.zip
fix doc comment for if_let_chain!
Diffstat (limited to 'src')
-rw-r--r--src/utils.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils.rs b/src/utils.rs
index 34a6d25af25..df730a4c021 100644
--- a/src/utils.rs
+++ b/src/utils.rs
@@ -20,9 +20,9 @@ pub const LL_PATH:     [&'static str; 3] = ["collections", "linked_list", "Linke
 ///
 ///     if_let_chain! {
 ///         [
-///             Some(y) = x,
+///             let Some(y) = x,
 ///             y.len() == 2,
-///             Some(z) = y,
+///             let Some(z) = y,
 ///         ],
 ///         {
 ///             block