@@ -61,15 +61,15 @@ fn compare_tokens(
6161 compare_token_text ( src_token, dst_token, format_result, src) ?
6262 } else {
6363 return Err ( UroboroSQLFmtError :: Validation {
64- _format_result : format_result. to_owned ( ) ,
64+ format_result : format_result. to_owned ( ) ,
6565 error_msg : format ! ( "different kind token: Errors have occurred near the following token\n {}" , error_annotation( src_token, Some ( dst_token) , src) ) ,
6666 } ) ;
6767 }
6868 }
6969 itertools:: EitherOrBoth :: Left ( src_token) => {
7070 // src.len() > dst.len() の場合
7171 return Err ( UroboroSQLFmtError :: Validation {
72- _format_result : format_result. to_owned ( ) ,
72+ format_result : format_result. to_owned ( ) ,
7373 error_msg : format ! (
7474 "different kind token: Errors have occurred near the following token\n {}" ,
7575 error_annotation( src_token, None , src)
@@ -79,7 +79,7 @@ fn compare_tokens(
7979 itertools:: EitherOrBoth :: Right ( _) => {
8080 // src.len() < dst.len() の場合
8181 return Err ( UroboroSQLFmtError :: Validation {
82- _format_result : format_result. to_owned ( ) ,
82+ format_result : format_result. to_owned ( ) ,
8383 error_msg : format ! ( "different kind token: For some reason the number of tokens in the format result has increased\n format_result: \n {format_result}" ) ,
8484 } ) ;
8585 }
@@ -109,7 +109,7 @@ fn compare_token_text(
109109 Ok ( ( ) )
110110 } else {
111111 Err ( UroboroSQLFmtError :: Validation {
112- _format_result : format_result. to_owned ( ) ,
112+ format_result : format_result. to_owned ( ) ,
113113 error_msg : format ! (
114114 r#"hint must start with "/*+" or "--+".\n{}"# ,
115115 error_annotation( src_token, Some ( dst_token) , src)
0 commit comments