Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
frankdavid committed Aug 26, 2024
1 parent e10f947 commit 84ab455
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust/candid/src/de.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1133,7 +1133,7 @@ impl<'de, 'a> de::SeqAccess<'de> for Compound<'a, 'de> {
match &self.style {
Style::Vector { len, .. } => Some(*len),
Style::Struct { expect, wire, .. } => Some(expect.len().min(wire.len())),
_ => None
_ => None,
}
}
}
Expand Down Expand Up @@ -1234,7 +1234,7 @@ impl<'de, 'a> de::MapAccess<'de> for Compound<'a, 'de> {
match &self.style {
Style::Map { len, .. } => Some(*len),
Style::Struct { expect, wire, .. } => Some(expect.len().min(wire.len())),
_ => None
_ => None,
}
}
}
Expand Down

0 comments on commit 84ab455

Please sign in to comment.