diff options
Diffstat (limited to 'openpgp/src/packet_pile.rs')
-rw-r--r-- | openpgp/src/packet_pile.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/openpgp/src/packet_pile.rs b/openpgp/src/packet_pile.rs index 330d02cf..481d09f3 100644 --- a/openpgp/src/packet_pile.rs +++ b/openpgp/src/packet_pile.rs @@ -375,8 +375,7 @@ impl PacketPile { /// literal.set_body(b"new".to_vec()); /// pile.replace( /// &[0, 0], 1, - /// [literal.into()].to_vec()) - /// .unwrap(); + /// [literal.into()].to_vec())?; /// # if let Some(Packet::Literal(lit)) = pile.path_ref(&[0, 0]) { /// # assert_eq!(lit.body(), &b"new"[..], "{:#?}", lit); /// # } else { |