Skip to content

Commit

Permalink
Merge pull request #35 from g0hl1n/g0hl1n_update-nix
Browse files Browse the repository at this point in the history
Fix MSRV & Windows clippy warning
  • Loading branch information
estokes authored Feb 8, 2023
2 parents 840ac07 + de66b35 commit 4ef3198
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/github-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
rust:
- stable
- beta
- 1.46.0
- 1.60.0
# - nightly
env:
TEST_PORT_A: /tmp/ttyS10
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
rust:
- stable
- beta
- 1.46.0
- 1.60.0
# - nightly
env:
TEST_PORT_A: /tmp/ttyS10
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
rust:
- stable
- beta
- 1.46.0
- 1.60.0
# - nightly
env:
TEST_PORT_A: COM10
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ categories = ["asynchronous", "hardware-support"]
edition = "2018"

[package.metadata]
msrv = "1.46.0" # Used by cargo-msrv
msrv = "1.60.0" # Used by cargo-msrv

[features]
default = []
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ cargo build --no-default-features
```

### MSRV
The Minimum Supported Rust Version is **1.46.0** as found using [cargo-msrv](https://crates.io/crates/cargo-msrv)
The Minimum Supported Rust Version is **1.60.0** as found using [cargo-msrv](https://crates.io/crates/cargo-msrv)

## Examples
A few examples can be found [here](https://github.com/berkowski/mio-serial/tree/master/examples).
Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,6 @@ impl TryFrom<NativeBlockingSerialPort> for SerialStream {
log::error!("unable to open new async file handle");
return Err(crate::Error::from(StdIoError::last_os_error()));
}
let handle = unsafe { mem::transmute(handle) };

// Construct NamedPipe and COMPort from Handle
//
Expand Down

0 comments on commit 4ef3198

Please sign in to comment.