Skip to content

Commit

Permalink
Merge pull request #88 from arkedge/update-rust-1.74.0
Browse files Browse the repository at this point in the history
Update Rust version to 1.74
  • Loading branch information
sksat authored Nov 27, 2024
2 parents 7b5a0ce + 99d1538 commit 8f21eb0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[toolchain]
channel = "1.70.0"
channel = "1.74.0"
4 changes: 2 additions & 2 deletions tlmcmddb-csv/src/tlm/metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ fn parse_first_line(record: StringRecord) -> Result<String> {

fn parse_packet_id(hex_with_0x: &str) -> Result<u8> {
let Some(hex) = hex_with_0x.strip_prefix("0x") else {
return Err(anyhow!("the value of PacketID must start with 0x"));
};
return Err(anyhow!("the value of PacketID must start with 0x"));
};
u8::from_str_radix(hex, 16).context("parsing PacketID")
}

Expand Down

0 comments on commit 8f21eb0

Please sign in to comment.