@@ -58,7 +58,8 @@ mod regexes {
5858 let string = "/// [name 1]: https://docs.rs/name_2-3/1.2.3/name_2_3/struct.Test.html\n " ;
5959 assert ! ( HTTP_LINK . is_match( string) ) ;
6060
61- let string = "/// [name 1]: https://docs.rs/name_2-3/1.2.3/name_2_3/module/struct.Test.html\n " ;
61+ let string =
62+ "/// [name 1]: https://docs.rs/name_2-3/1.2.3/name_2_3/module/struct.Test.html\n " ;
6263 assert ! ( HTTP_LINK . is_match( string) ) ;
6364
6465 let string = "[`name 1`]: https://docs.rs/name-1/293-fdsf/name_1/index.html\n " ;
@@ -67,7 +68,8 @@ mod regexes {
6768 let string = "[name 1]: https://docs.rs/name_2-3/1.2.3/name_2_3/struct.Test.html\n " ;
6869 assert ! ( HTTP_LINK . is_match( string) ) ;
6970
70- let string = "[name 1]: https://docs.rs/name_2-3/1.2.3/name_2_3/module/struct.Test.html\n " ;
71+ let string =
72+ "[name 1]: https://docs.rs/name_2-3/1.2.3/name_2_3/module/struct.Test.html\n " ;
7173 assert ! ( HTTP_LINK . is_match( string) ) ;
7274 }
7375 }
@@ -349,7 +351,7 @@ fn new() {
349351 assert_ne ! ( Context :: new( "name" . into( ) , true , true ) , ctx) ;
350352 assert_ne ! ( Context :: new( "name" . into( ) , true , false ) , ctx) ;
351353 assert_ne ! ( Context :: new( "name" . into( ) , false , false ) , ctx) ;
352-
354+
353355 assert_ne ! ( Context :: new( "not_name" . into( ) , true , true ) , ctx) ;
354356 assert_ne ! ( Context :: new( "not_name" . into( ) , true , false ) , ctx) ;
355357 assert_ne ! ( Context :: new( "not_name" . into( ) , false , true ) , ctx) ;
@@ -1804,7 +1806,7 @@ mod transform_anchor {
18041806 #[ test]
18051807 fn matching_anchors ( ) {
18061808 let none_ctx = Context :: new ( "my_crate_none" . into ( ) , true , false ) ;
1807- let mut some_ctx = Context :: new ( "my_crate_some" . into ( ) , true , false ) ;
1809+ let mut some_ctx = Context :: new ( "my_crate_some" . into ( ) , true , false ) ;
18081810
18091811 some_ctx. curr_type_block = Some ( "Type" . into ( ) ) ;
18101812 some_ctx. end_type_block = "}" . into ( ) ;
@@ -1998,7 +2000,7 @@ mod transform_line {
19982000 #[ test]
19992001 fn matching_lines_anchor ( ) {
20002002 let mut none_ctx = Context :: new ( "my_crate_none" . into ( ) , true , false ) ;
2001- let mut some_ctx = Context :: new ( "my_crate_some" . into ( ) , true , false ) ;
2003+ let mut some_ctx = Context :: new ( "my_crate_some" . into ( ) , true , false ) ;
20022004
20032005 some_ctx. curr_type_block = Some ( "Type" . into ( ) ) ;
20042006 some_ctx. end_type_block = "}" . into ( ) ;
0 commit comments