Skip to content

Commit

Permalink
use rust 1.83
Browse files Browse the repository at this point in the history
  • Loading branch information
zh-jq committed Nov 28, 2024
1 parent ce6c0df commit 8384936
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.ja_JP.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![minimum rustc: 1.80](https://img.shields.io/badge/minimum%20rustc-1.80-green?logo=rust)](https://www.whatrustisit.com)
[![minimum rustc: 1.83](https://img.shields.io/badge/minimum%20rustc-1.83-green?logo=rust)](https://www.whatrustisit.com)
[![License: Apache 2.0](https://img.shields.io/badge/license-Apache_2.0-blue.svg)](LICENSE)
[![codecov](https://codecov.io/gh/bytedance/g3/graph/badge.svg?token=TSQCA4ALQM)](https://codecov.io/gh/bytedance/g3)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![minimum rustc: 1.80](https://img.shields.io/badge/minimum%20rustc-1.80-green?logo=rust)](https://www.whatrustisit.com)
[![minimum rustc: 1.83](https://img.shields.io/badge/minimum%20rustc-1.83-green?logo=rust)](https://www.whatrustisit.com)
[![License: Apache 2.0](https://img.shields.io/badge/license-Apache_2.0-blue.svg)](LICENSE)
[![codecov](https://codecov.io/gh/bytedance/g3/graph/badge.svg?token=TSQCA4ALQM)](https://codecov.io/gh/bytedance/g3)

Expand Down
2 changes: 1 addition & 1 deletion README.zh_CN.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![minimum rustc: 1.80](https://img.shields.io/badge/minimum%20rustc-1.80-green?logo=rust)](https://www.whatrustisit.com)
[![minimum rustc: 1.83](https://img.shields.io/badge/minimum%20rustc-1.83-green?logo=rust)](https://www.whatrustisit.com)
[![License: Apache 2.0](https://img.shields.io/badge/license-Apache_2.0-blue.svg)](LICENSE)
[![codecov](https://codecov.io/gh/bytedance/g3/graph/badge.svg?token=TSQCA4ALQM)](https://codecov.io/gh/bytedance/g3)

Expand Down
2 changes: 1 addition & 1 deletion lib/g3-types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "g3-types"
version = "0.5.0"
license.workspace = true
edition.workspace = true
rust-version = "1.80.0"
rust-version = "1.83.0"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
2 changes: 2 additions & 0 deletions lib/g3-types/src/net/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ impl From<io::Error> for ConnectError {
match e.kind() {
io::ErrorKind::ConnectionRefused => return ConnectError::ConnectionRefused,
io::ErrorKind::ConnectionReset => return ConnectError::ConnectionReset,
io::ErrorKind::HostUnreachable => return ConnectError::HostUnreachable,
io::ErrorKind::NetworkUnreachable => return ConnectError::NetworkUnreachable,
io::ErrorKind::TimedOut => return ConnectError::TimedOut,
_ => {}
}
Expand Down

0 comments on commit 8384936

Please sign in to comment.