@@ -270,7 +270,7 @@ fn stty(opts: &Options) -> UResult<()> {
270270 1 ,
271271 get_message_with_args (
272272 "stty-error-missing-argument" ,
273- HashMap :: from ( [ ( "arg" . to_string ( ) , arg. to_string ( ) ) ] ) ,
273+ HashMap :: from ( [ ( "arg" . to_string ( ) , ( * arg) . to_string ( ) ) ] ) ,
274274 ) ,
275275 ) ) ;
276276 }
@@ -286,8 +286,8 @@ fn stty(opts: &Options) -> UResult<()> {
286286 get_message_with_args (
287287 "stty-error-invalid-speed" ,
288288 HashMap :: from ( [
289- ( "arg" . to_string ( ) , arg. to_string ( ) ) ,
290- ( "speed" . to_string ( ) , speed. to_string ( ) ) ,
289+ ( "arg" . to_string ( ) , ( * arg) . to_string ( ) ) ,
290+ ( "speed" . to_string ( ) , ( * speed) . to_string ( ) ) ,
291291 ] ) ,
292292 ) ,
293293 ) ) ;
@@ -298,7 +298,7 @@ fn stty(opts: &Options) -> UResult<()> {
298298 1 ,
299299 get_message_with_args (
300300 "stty-error-missing-argument" ,
301- HashMap :: from ( [ ( "arg" . to_string ( ) , arg. to_string ( ) ) ] ) ,
301+ HashMap :: from ( [ ( "arg" . to_string ( ) , ( * arg) . to_string ( ) ) ] ) ,
302302 ) ,
303303 ) ) ;
304304 }
@@ -372,7 +372,7 @@ fn stty(opts: &Options) -> UResult<()> {
372372 1 ,
373373 get_message_with_args (
374374 "stty-error-invalid-argument" ,
375- HashMap :: from ( [ ( "arg" . to_string ( ) , arg. to_string ( ) ) ] ) ,
375+ HashMap :: from ( [ ( "arg" . to_string ( ) , ( * arg) . to_string ( ) ) ] ) ,
376376 ) ,
377377 ) ) ;
378378 }
@@ -395,7 +395,7 @@ fn stty(opts: &Options) -> UResult<()> {
395395 1 ,
396396 get_message_with_args (
397397 "stty-error-missing-argument" ,
398- HashMap :: from ( [ ( "arg" . to_string ( ) , arg. to_string ( ) ) ] ) ,
398+ HashMap :: from ( [ ( "arg" . to_string ( ) , ( * arg) . to_string ( ) ) ] ) ,
399399 ) ,
400400 ) ) ;
401401 }
@@ -417,7 +417,7 @@ fn stty(opts: &Options) -> UResult<()> {
417417 1 ,
418418 get_message_with_args (
419419 "stty-error-missing-argument" ,
420- HashMap :: from ( [ ( "arg" . to_string ( ) , arg. to_string ( ) ) ] ) ,
420+ HashMap :: from ( [ ( "arg" . to_string ( ) , ( * arg) . to_string ( ) ) ] ) ,
421421 ) ,
422422 ) ) ;
423423 }
@@ -433,7 +433,7 @@ fn stty(opts: &Options) -> UResult<()> {
433433 1 ,
434434 get_message_with_args (
435435 "stty-error-invalid-argument" ,
436- HashMap :: from ( [ ( "arg" . to_string ( ) , arg. to_string ( ) ) ] ) ,
436+ HashMap :: from ( [ ( "arg" . to_string ( ) , ( * arg) . to_string ( ) ) ] ) ,
437437 ) ,
438438 ) ) ;
439439 }
@@ -540,7 +540,7 @@ fn print_terminal_size(termios: &Termios, opts: &Options) -> nix::Result<()> {
540540 "{} " ,
541541 get_message_with_args(
542542 "stty-output-speed" ,
543- HashMap :: from( [ ( "speed" . to_string( ) , text. to_string( ) ) ] )
543+ HashMap :: from( [ ( "speed" . to_string( ) , ( * text) . to_string( ) ) ] )
544544 )
545545 ) ;
546546 break ;
0 commit comments