File tree 3 files changed +9
-14
lines changed
3 files changed +9
-14
lines changed Original file line number Diff line number Diff line change
1
+ overflow_delimited_expr = true
Original file line number Diff line number Diff line change @@ -11,13 +11,10 @@ pub struct Parser<'a> {
11
11
12
12
pub ( super ) fn parse_doc ( attrs : & [ Attribute ] ) -> Result < Doc > {
13
13
let mut doc = Doc :: new ( ) ;
14
- parse (
15
- attrs,
16
- Parser {
17
- doc : Some ( & mut doc) ,
18
- ..Parser :: default ( )
19
- } ,
20
- ) ?;
14
+ parse ( attrs, Parser {
15
+ doc : Some ( & mut doc) ,
16
+ ..Parser :: default ( )
17
+ } ) ?;
21
18
Ok ( doc)
22
19
}
23
20
Original file line number Diff line number Diff line change @@ -56,13 +56,10 @@ fn parse_struct(item: ItemStruct) -> Result<Api> {
56
56
57
57
let mut doc = Doc :: new ( ) ;
58
58
let mut derives = Vec :: new ( ) ;
59
- attrs:: parse (
60
- & item. attrs ,
61
- attrs:: Parser {
62
- doc : Some ( & mut doc) ,
63
- derives : Some ( & mut derives) ,
64
- } ,
65
- ) ?;
59
+ attrs:: parse ( & item. attrs , attrs:: Parser {
60
+ doc : Some ( & mut doc) ,
61
+ derives : Some ( & mut derives) ,
62
+ } ) ?;
66
63
67
64
let fields = match item. fields {
68
65
Fields :: Named ( fields) => fields,
You can’t perform that action at this time.
0 commit comments