File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " udp"
3- version = " 1.0.1 "
3+ version = " 1.0.2 "
44edition = " 2024"
55authors = [" root@ltpp.vip" ]
66license = " MIT"
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ async fn test_func(ctx: Context) {
3434}
3535
3636fn error_handle (error : String ) {
37- eprint ! (" {}" , error );
37+ eprintln ! (" {}" , error );
3838 let _ = std :: io :: Write :: flush (& mut std :: io :: stderr ());
3939}
4040
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ async fn test_server_basic_usage() {
77 }
88
99 fn error_handle ( error : String ) {
10- eprint ! ( "{}" , error) ;
10+ eprintln ! ( "{}" , error) ;
1111 let _ = std:: io:: Write :: flush ( & mut std:: io:: stderr ( ) ) ;
1212 }
1313
Original file line number Diff line number Diff line change 11pub ( crate ) fn print_error_handle ( error : String ) {
2- eprint ! ( "{}" , error) ;
2+ eprintln ! ( "{}" , error) ;
33 let _ = std:: io:: Write :: flush ( & mut std:: io:: stderr ( ) ) ;
44}
You can’t perform that action at this time.
0 commit comments