@@ -493,7 +493,7 @@ mod tests {
493493 let s = "Some random text with {{#playground file.rs}} and {{#playground test.rs }}..." ;
494494
495495 let res = find_links ( s) . collect :: < Vec < _ > > ( ) ;
496- println ! ( "\n OUTPUT: {:?}\n " , res ) ;
496+ println ! ( "\n OUTPUT: {res :?}\n " ) ;
497497
498498 assert_eq ! (
499499 res,
@@ -519,7 +519,7 @@ mod tests {
519519 let s = "Some random text with {{#playground foo-bar\\ baz/_c++.rs}}..." ;
520520
521521 let res = find_links ( s) . collect :: < Vec < _ > > ( ) ;
522- println ! ( "\n OUTPUT: {:?}\n " , res ) ;
522+ println ! ( "\n OUTPUT: {res :?}\n " ) ;
523523
524524 assert_eq ! (
525525 res,
@@ -536,7 +536,7 @@ mod tests {
536536 fn test_find_links_with_range ( ) {
537537 let s = "Some random text with {{#include file.rs:10:20}}..." ;
538538 let res = find_links ( s) . collect :: < Vec < _ > > ( ) ;
539- println ! ( "\n OUTPUT: {:?}\n " , res ) ;
539+ println ! ( "\n OUTPUT: {res :?}\n " ) ;
540540 assert_eq ! (
541541 res,
542542 vec![ Link {
@@ -555,7 +555,7 @@ mod tests {
555555 fn test_find_links_with_line_number ( ) {
556556 let s = "Some random text with {{#include file.rs:10}}..." ;
557557 let res = find_links ( s) . collect :: < Vec < _ > > ( ) ;
558- println ! ( "\n OUTPUT: {:?}\n " , res ) ;
558+ println ! ( "\n OUTPUT: {res :?}\n " ) ;
559559 assert_eq ! (
560560 res,
561561 vec![ Link {
@@ -574,7 +574,7 @@ mod tests {
574574 fn test_find_links_with_from_range ( ) {
575575 let s = "Some random text with {{#include file.rs:10:}}..." ;
576576 let res = find_links ( s) . collect :: < Vec < _ > > ( ) ;
577- println ! ( "\n OUTPUT: {:?}\n " , res ) ;
577+ println ! ( "\n OUTPUT: {res :?}\n " ) ;
578578 assert_eq ! (
579579 res,
580580 vec![ Link {
@@ -593,7 +593,7 @@ mod tests {
593593 fn test_find_links_with_to_range ( ) {
594594 let s = "Some random text with {{#include file.rs::20}}..." ;
595595 let res = find_links ( s) . collect :: < Vec < _ > > ( ) ;
596- println ! ( "\n OUTPUT: {:?}\n " , res ) ;
596+ println ! ( "\n OUTPUT: {res :?}\n " ) ;
597597 assert_eq ! (
598598 res,
599599 vec![ Link {
@@ -612,7 +612,7 @@ mod tests {
612612 fn test_find_links_with_full_range ( ) {
613613 let s = "Some random text with {{#include file.rs::}}..." ;
614614 let res = find_links ( s) . collect :: < Vec < _ > > ( ) ;
615- println ! ( "\n OUTPUT: {:?}\n " , res ) ;
615+ println ! ( "\n OUTPUT: {res :?}\n " ) ;
616616 assert_eq ! (
617617 res,
618618 vec![ Link {
@@ -631,7 +631,7 @@ mod tests {
631631 fn test_find_links_with_no_range_specified ( ) {
632632 let s = "Some random text with {{#include file.rs}}..." ;
633633 let res = find_links ( s) . collect :: < Vec < _ > > ( ) ;
634- println ! ( "\n OUTPUT: {:?}\n " , res ) ;
634+ println ! ( "\n OUTPUT: {res :?}\n " ) ;
635635 assert_eq ! (
636636 res,
637637 vec![ Link {
@@ -650,7 +650,7 @@ mod tests {
650650 fn test_find_links_with_anchor ( ) {
651651 let s = "Some random text with {{#include file.rs:anchor}}..." ;
652652 let res = find_links ( s) . collect :: < Vec < _ > > ( ) ;
653- println ! ( "\n OUTPUT: {:?}\n " , res ) ;
653+ println ! ( "\n OUTPUT: {res :?}\n " ) ;
654654 assert_eq ! (
655655 res,
656656 vec![ Link {
@@ -670,7 +670,7 @@ mod tests {
670670 let s = "Some random text with escaped playground \\ {{#playground file.rs editable}} ..." ;
671671
672672 let res = find_links ( s) . collect :: < Vec < _ > > ( ) ;
673- println ! ( "\n OUTPUT: {:?}\n " , res ) ;
673+ println ! ( "\n OUTPUT: {res :?}\n " ) ;
674674
675675 assert_eq ! (
676676 res,
@@ -690,7 +690,7 @@ mod tests {
690690 more\n text {{#playground my.rs editable no_run should_panic}} ...";
691691
692692 let res = find_links ( s) . collect :: < Vec < _ > > ( ) ;
693- println ! ( "\n OUTPUT: {:?}\n " , res ) ;
693+ println ! ( "\n OUTPUT: {res :?}\n " ) ;
694694 assert_eq ! (
695695 res,
696696 vec![
@@ -721,7 +721,7 @@ mod tests {
721721 no_run should_panic}} ...";
722722
723723 let res = find_links ( s) . collect :: < Vec < _ > > ( ) ;
724- println ! ( "\n OUTPUT: {:?}\n " , res ) ;
724+ println ! ( "\n OUTPUT: {res :?}\n " ) ;
725725 assert_eq ! ( res. len( ) , 3 ) ;
726726 assert_eq ! (
727727 res[ 0 ] ,
0 commit comments