diff --git a/rust-toolchain.toml b/rust-toolchain.toml index bbf217f21..5f3ff1776 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.81.0" +channel = "1.82.0" profile = "default" diff --git a/upstairs/src/dummy_downstairs_tests.rs b/upstairs/src/dummy_downstairs_tests.rs index 85e53c0bd..e9e277a31 100644 --- a/upstairs/src/dummy_downstairs_tests.rs +++ b/upstairs/src/dummy_downstairs_tests.rs @@ -1596,7 +1596,7 @@ async fn test_byte_fault_condition_offline() { h.await.unwrap(); let ds = harness.guest.downstairs_state().await.unwrap(); - if (i as usize + 1) * WRITE_SIZE < IO_OUTSTANDING_MAX_BYTES as usize { + if (i + 1) * WRITE_SIZE < IO_OUTSTANDING_MAX_BYTES as usize { assert_eq!(ds[ClientId::new(0)], DsState::Offline); assert_eq!(ds[ClientId::new(1)], DsState::Active); assert_eq!(ds[ClientId::new(2)], DsState::Active);