commit | 771ecf4595697b6269d75fc75ccd0be12fea7ac3 | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Fri Sep 23 19:26:37 2016 -0700 |
committer | David Tolnay <dtolnay@gmail.com> | Fri Sep 23 19:26:37 2016 -0700 |
tree | b036f4bab3de689249acfe3d7bf7b7e96f22d8b9 | |
parent | fe3d4ee79d1715b6f0c0e3d7bd11b326ea508906 [diff] [blame] |
Copy over missing doc comments
diff --git a/src/expr.rs b/src/expr.rs index 9a99911..a66792d 100644 --- a/src/expr.rs +++ b/src/expr.rs
@@ -280,6 +280,16 @@ Mac(Mac), } +/// An arm of a 'match'. +/// +/// E.g. `0...10 => { println!("match!") }` as in +/// +/// ```rust,ignore +/// match n { +/// 0...10 => { println!("match!") }, +/// // .. +/// } +/// ``` #[derive(Debug, Clone, Eq, PartialEq)] pub struct Arm { pub attrs: Vec<Attribute>,