Skip to content

Commit 37ee215

Browse files
committed
feat: v4.0.3
1 parent 92a3b38 commit 37ee215

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tcplane"
3-
version = "4.0.2"
3+
version = "4.0.3"
44
edition = "2024"
55
authors = ["root@ltpp.vip"]
66
license = "MIT"

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ async fn test_func(ctx: Context) {
3434
}
3535

3636
fn error_handle(error: String) {
37-
eprint!("{}", error);
37+
eprintln!("{}", error);
3838
let _ = std::io::Write::flush(&mut std::io::stderr());
3939
}
4040

src/cfg.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

src/handler/fn.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
pub(crate) fn print_error_handle(error: String) {
2-
eprint!("{}", error);
2+
eprintln!("{}", error);
33
let _ = std::io::Write::flush(&mut std::io::stderr());
44
}

0 commit comments

Comments
 (0)