@@ -105,7 +105,8 @@ fn trailing_space_open() {
105105 let root = parse_document ( & arena, input, & options) ;
106106
107107 let found = root
108- . descendants ( ) . find ( |n| matches ! ( n. data. borrow( ) . value, NodeValue :: FrontMatter ( ..) ) ) ;
108+ . descendants ( )
109+ . find ( |n| matches ! ( n. data. borrow( ) . value, NodeValue :: FrontMatter ( ..) ) ) ;
109110
110111 assert ! ( found. is_none( ) , "no FrontMatter expected" ) ;
111112}
@@ -120,7 +121,8 @@ fn leading_space_open() {
120121 let root = parse_document ( & arena, input, & options) ;
121122
122123 let found = root
123- . descendants ( ) . find ( |n| matches ! ( n. data. borrow( ) . value, NodeValue :: FrontMatter ( ..) ) ) ;
124+ . descendants ( )
125+ . find ( |n| matches ! ( n. data. borrow( ) . value, NodeValue :: FrontMatter ( ..) ) ) ;
124126
125127 assert ! ( found. is_none( ) , "no FrontMatter expected" ) ;
126128}
@@ -135,7 +137,8 @@ fn leading_space_close() {
135137 let root = parse_document ( & arena, input, & options) ;
136138
137139 let found = root
138- . descendants ( ) . find ( |n| matches ! ( n. data. borrow( ) . value, NodeValue :: FrontMatter ( ..) ) ) ;
140+ . descendants ( )
141+ . find ( |n| matches ! ( n. data. borrow( ) . value, NodeValue :: FrontMatter ( ..) ) ) ;
139142
140143 assert ! ( found. is_none( ) , "no FrontMatter expected" ) ;
141144}
@@ -150,7 +153,8 @@ fn trailing_space_close() {
150153 let root = parse_document ( & arena, input, & options) ;
151154
152155 let found = root
153- . descendants ( ) . find ( |n| matches ! ( n. data. borrow( ) . value, NodeValue :: FrontMatter ( ..) ) ) ;
156+ . descendants ( )
157+ . find ( |n| matches ! ( n. data. borrow( ) . value, NodeValue :: FrontMatter ( ..) ) ) ;
154158
155159 assert ! ( found. is_none( ) , "no FrontMatter expected" ) ;
156160}
@@ -165,7 +169,8 @@ fn second_line() {
165169 let root = parse_document ( & arena, input, & options) ;
166170
167171 let found = root
168- . descendants ( ) . find ( |n| matches ! ( n. data. borrow( ) . value, NodeValue :: FrontMatter ( ..) ) ) ;
172+ . descendants ( )
173+ . find ( |n| matches ! ( n. data. borrow( ) . value, NodeValue :: FrontMatter ( ..) ) ) ;
169174
170175 assert ! ( found. is_none( ) , "no FrontMatter expected" ) ;
171176}
@@ -180,7 +185,8 @@ fn fm_only_with_trailing_newline() {
180185 let root = parse_document ( & arena, input, & options) ;
181186
182187 let found = root
183- . descendants ( ) . find ( |n| matches ! ( n. data. borrow( ) . value, NodeValue :: FrontMatter ( ..) ) ) ;
188+ . descendants ( )
189+ . find ( |n| matches ! ( n. data. borrow( ) . value, NodeValue :: FrontMatter ( ..) ) ) ;
184190
185191 assert ! ( found. is_some( ) , "front matter expected" ) ;
186192}
@@ -195,7 +201,8 @@ fn fm_only_without_trailing_newline() {
195201 let root = parse_document ( & arena, input, & options) ;
196202
197203 let found = root
198- . descendants ( ) . find ( |n| matches ! ( n. data. borrow( ) . value, NodeValue :: FrontMatter ( ..) ) ) ;
204+ . descendants ( )
205+ . find ( |n| matches ! ( n. data. borrow( ) . value, NodeValue :: FrontMatter ( ..) ) ) ;
199206
200207 assert ! ( found. is_some( ) , "front matter expected" ) ;
201208}
0 commit comments