commit | aed77b0573fd29300dee43247531505476069f75 | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Fri Sep 23 20:50:31 2016 -0700 |
committer | David Tolnay <dtolnay@gmail.com> | Fri Sep 23 21:30:56 2016 -0700 |
tree | 0013e39d62aba4c737cbd91e75c47c23b18d7057 | |
parent | b9c8e323bf2f07862a82d0123f5ec305a1107d97 [diff] [blame] |
Add optional clippy
diff --git a/src/expr.rs b/src/expr.rs index df35554..1026654 100644 --- a/src/expr.rs +++ b/src/expr.rs
@@ -318,7 +318,7 @@ /// /// Patterns like the fields of Foo `{ x, ref y, ref mut z }` /// are treated the same as` x: x, y: ref y, z: ref mut z`, -/// except is_shorthand is true +/// except `is_shorthand` is true #[derive(Debug, Clone, Eq, PartialEq)] pub struct FieldPat { /// The identifier for the field