Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
saulecabrera committed Jul 11, 2024
1 parent 1dfb5ec commit e00d14c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/javy/src/serde/de.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ impl<'js> Deserializer<'js> {
let v = self
.stack
.pop()
.ok_or_else(|| anyhow!("No entries found in the deserialiazer stack"))?;
.ok_or_else(|| anyhow!("No entries found in the deserializer stack"))?;
Ok(v)
}

Expand Down Expand Up @@ -442,7 +442,7 @@ impl<'a, 'de> de::SeqAccess<'de> for SeqAccess<'a, 'de> {
self.de.value = Null.into_value(self.seq.ctx().clone())
}
self.index += 1;
// Check cycles right before kicking the deserialiazation for the
// Check cycles right before starting the deserialization for the
// sequence elements.
self.de.check_cycles()?;
seed.deserialize(&mut *self.de).map(Some)
Expand Down

0 comments on commit e00d14c

Please sign in to comment.