Skip to content

Commit

Permalink
rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
midnightveil committed Sep 4, 2024
1 parent e04f887 commit ba073b8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tool/microkit/src/sdf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -791,9 +791,7 @@ impl ChannelEnd {

check_attributes(xml_sdf, node, &["pd", "id", "pp", "notify"])?;
let end_pd = checked_lookup(xml_sdf, node, "pd")?;
let end_id = checked_lookup(xml_sdf, node, "id")?
.parse::<i64>()
.unwrap();
let end_id = checked_lookup(xml_sdf, node, "id")?.parse::<i64>().unwrap();

if end_id > PD_MAX_ID as i64 {
return Err(value_error(
Expand Down

0 comments on commit ba073b8

Please sign in to comment.