summaryrefslogtreecommitdiffstats
path: root/guide/src/chapter_03.md
diff options
context:
space:
mode:
Diffstat (limited to 'guide/src/chapter_03.md')
-rw-r--r--guide/src/chapter_03.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/guide/src/chapter_03.md b/guide/src/chapter_03.md
index 91f07b04..4d48717c 100644
--- a/guide/src/chapter_03.md
+++ b/guide/src/chapter_03.md
@@ -95,13 +95,13 @@ fn main() {
[`PacketPile`]s are unstructured sequences of OpenPGP packets. Packet
piles can be inspected, manipulated, validated using a formal grammar
and thereby turned into [`Message`]s or [`Cert`]s using
-[`Message::from_packet_pile`] or [`Cert::from_packet_pile`], or just
+[`Message::try_from`] or [`Cert::try_from`], or just
turned into a vector of [`Packet`]s:
[`PacketPile`]: ../../sequoia_openpgp/struct.PacketPile.html
[`Packet`]: ../../sequoia_openpgp/enum.Packet.html
-[`Cert::from_packet_pile`]: ../../sequoia_openpgp/cert/struct.Cert.html#method.from_packet_pile
-[`Message::from_packet_pile`]: ../../sequoia_openpgp/struct.Message.html#method.from_packet_pile
+[`Cert::try_from`]: ../../sequoia_openpgp/cert/struct.Cert.html#method.try_from
+[`Message::try_from`]: ../../sequoia_openpgp/struct.Message.html#method.try_from
```rust
extern crate sequoia_openpgp as openpgp;