@@ -92,34 +92,34 @@ fn read_test_files(ini_path: &Path) -> Result<TestFiles, Error> {
9292
9393 test_files[ 0 ] = ini
9494 . get_from ( Some ( "General" ) , "sTestFile1" )
95- . map ( ToString :: to_string ) ;
95+ . map ( str :: to_owned ) ;
9696 test_files[ 1 ] = ini
9797 . get_from ( Some ( "General" ) , "sTestFile2" )
98- . map ( ToString :: to_string ) ;
98+ . map ( str :: to_owned ) ;
9999 test_files[ 2 ] = ini
100100 . get_from ( Some ( "General" ) , "sTestFile3" )
101- . map ( ToString :: to_string ) ;
101+ . map ( str :: to_owned ) ;
102102 test_files[ 3 ] = ini
103103 . get_from ( Some ( "General" ) , "sTestFile4" )
104- . map ( ToString :: to_string ) ;
104+ . map ( str :: to_owned ) ;
105105 test_files[ 4 ] = ini
106106 . get_from ( Some ( "General" ) , "sTestFile5" )
107- . map ( ToString :: to_string ) ;
107+ . map ( str :: to_owned ) ;
108108 test_files[ 5 ] = ini
109109 . get_from ( Some ( "General" ) , "sTestFile6" )
110- . map ( ToString :: to_string ) ;
110+ . map ( str :: to_owned ) ;
111111 test_files[ 6 ] = ini
112112 . get_from ( Some ( "General" ) , "sTestFile7" )
113- . map ( ToString :: to_string ) ;
113+ . map ( str :: to_owned ) ;
114114 test_files[ 7 ] = ini
115115 . get_from ( Some ( "General" ) , "sTestFile8" )
116- . map ( ToString :: to_string ) ;
116+ . map ( str :: to_owned ) ;
117117 test_files[ 8 ] = ini
118118 . get_from ( Some ( "General" ) , "sTestFile9" )
119- . map ( ToString :: to_string ) ;
119+ . map ( str :: to_owned ) ;
120120 test_files[ 9 ] = ini
121121 . get_from ( Some ( "General" ) , "sTestFile10" )
122- . map ( ToString :: to_string ) ;
122+ . map ( str :: to_owned ) ;
123123
124124 Ok ( test_files)
125125}
@@ -250,7 +250,7 @@ fn read_steam_language_config(appmanifest_acf_path: &Path) -> Result<Option<Stri
250250 . and_then ( |o| o. get ( "language" ) )
251251 . and_then ( |v| v. first ( ) )
252252 . and_then ( keyvalues_parser:: Value :: get_str)
253- . map ( ToString :: to_string ) ;
253+ . map ( str :: to_owned ) ;
254254
255255 Ok ( language)
256256}
0 commit comments