Skip to content

Commit c6573b6

Browse files
committed
Run CI with Rust 1.71
1 parent a417fad commit c6573b6

4 files changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
strategy:
2525
matrix:
2626
toolchain:
27-
- 1.63.0
27+
- 1.71.0
2828
- stable
2929
- nightly
3030
env:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Bindings have been pregenerated for the tag `1.6.1` - if you activate the
3030
feature `pregenerated-bindings`, you don't need the master code to build, but
3131
the kernel modules must match that revision.
3232

33-
The minimum tested Rust version is 1.63.0.
33+
The minimum tested Rust version is 1.71.0.
3434

3535
# Licensing
3636

src/master.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,11 @@ impl Master {
265265
})
266266
}
267267

268-
pub fn configure_slave(&mut self, addr: SlaveAddr, expected: SlaveId) -> Result<SlaveConfig<'_>> {
268+
pub fn configure_slave(
269+
&mut self,
270+
addr: SlaveAddr,
271+
expected: SlaveId,
272+
) -> Result<SlaveConfig<'_>> {
269273
log::debug!("Configure slave {:?}", addr);
270274
let mut data = ec::ec_ioctl_config_t::default();
271275
let (alias, pos) = addr.as_pair();

src/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ pub enum Error {
3030

3131
impl From<Error> for io::Error {
3232
fn from(e: Error) -> Self {
33-
io::Error::new(io::ErrorKind::Other, e)
33+
io::Error::other(e)
3434
}
3535
}
3636

0 commit comments

Comments
 (0)