Skip to content

Commit

Permalink
Update Rust version to 1.80.0
Browse files Browse the repository at this point in the history
  • Loading branch information
spirali committed Oct 7, 2024
1 parent 9fba97b commit ce62a1c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.76.0
toolchain: 1.80.0
override: true

- uses: Swatinem/[email protected]
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.76.0
toolchain: 1.80.0
override: true

- uses: Swatinem/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.76.0
toolchain: 1.80.0
override: true
components: clippy, rustfmt

Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ default-members = [
resolver = "2"

[workspace.package]
rust-version = "1.76.0"
rust-version = "1.80.0"
edition = "2021"
authors = ["Ada Böhm <[email protected]>", "Jakub Beránek <[email protected]>"]

Expand Down
4 changes: 2 additions & 2 deletions crates/hyperqueue/src/stream/reader/outputlog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -211,13 +211,13 @@ impl OutputLog {
Ok(index)
}

fn check_header(mut file: &mut BufReader<File>) -> anyhow::Result<StreamFileHeader> {
fn check_header(file: &mut BufReader<File>) -> anyhow::Result<StreamFileHeader> {
let mut header = [0u8; STREAM_FILE_HEADER.len()];
file.read_exact(&mut header)?;
if header != STREAM_FILE_HEADER {
anyhow::bail!("Invalid file format");
}
Ok(bincode_config().deserialize_from(&mut file)?)
Ok(bincode_config().deserialize_from(file)?)
}

pub fn summary(&self) -> Summary {
Expand Down

0 comments on commit ce62a1c

Please sign in to comment.