Skip to content

Commit

Permalink
Doc tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Bartlett committed Jan 29, 2024
1 parent 46e4b6b commit b798deb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,8 @@ impl<'de> Deserializer<'de> {
/// # Safety
/// The tape is not checked for correctness. The deserializer is only
/// guaranteed to operate correctly if the tape came from a previous
/// Deserializer or from the [ and has not been modified.
/// Deserializer (e.g. from one ot the [crate::to_tape] functions), and has
/// not been modified.
#[must_use]
pub unsafe fn from_tape(tape: Tape<'de>) -> Self {
Self {
Expand Down

0 comments on commit b798deb

Please sign in to comment.