File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
api_generator/src/generator Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ mod test {
185
185
use std:: fs;
186
186
187
187
#[ test]
188
- pub fn nominal_merge ( ) -> anyhow:: Result < ( ) , failure :: Error > {
188
+ pub fn nominal_merge ( ) -> anyhow:: Result < ( ) > {
189
189
let dir = tempfile:: tempdir ( ) ?;
190
190
let dir_path = dir. path ( ) ;
191
191
let file_name = "test_merge.rs" ;
@@ -249,7 +249,7 @@ Contents of section bar
249
249
}
250
250
251
251
#[ test]
252
- fn unbalanced_sections ( ) -> Result < ( ) , failure :: Error > {
252
+ fn unbalanced_sections ( ) -> anyhow :: Result < ( ) > {
253
253
merge_should_fail (
254
254
r#"
255
255
// GENERATED-BEGIN:foo
@@ -280,7 +280,7 @@ Contents of section bar
280
280
Ok ( ( ) )
281
281
}
282
282
283
- fn merge_should_fail ( input : & str ) -> Result < ( ) , failure :: Error > {
283
+ fn merge_should_fail ( input : & str ) -> anyhow :: Result < ( ) > {
284
284
let dir = tempfile:: tempdir ( ) ?;
285
285
let dir_path = dir. path ( ) ;
286
286
let file_name = "test_merge.rs" ;
You can’t perform that action at this time.
0 commit comments