diff --git a/quinn-proto/src/frame.rs b/quinn-proto/src/frame.rs index 83695c4a6..915721c7f 100644 --- a/quinn-proto/src/frame.rs +++ b/quinn-proto/src/frame.rs @@ -943,7 +943,7 @@ impl AckFrequency { /* Address Discovery https://datatracker.ietf.org/doc/draft-seemann-quic-address-discovery/ */ /// Conjuction of the information contained in the address discovery frames -/// ([`Type::OBSERVED_IPV4_ADDR`], [`Type::OBSERVED_IPV6_ADDR`]). +/// ([`FrameType::OBSERVED_IPV4_ADDR`], [`FrameType::OBSERVED_IPV6_ADDR`]). #[derive(Debug, PartialEq, Eq, Clone)] pub(crate) struct ObservedAddr { /// Monotonically increasing integer within the same connection. @@ -963,7 +963,7 @@ impl ObservedAddr { } } - /// Get the [`Type`] for this frame. + /// Get the [`FrameType`] for this frame. pub(crate) fn get_type(&self) -> FrameType { if self.ip.is_ipv6() { FrameType::OBSERVED_IPV6_ADDR @@ -999,7 +999,7 @@ impl ObservedAddr { /// Reads the frame contents from the buffer. /// /// Should only be called when the fram type has been identified as - /// [`Type::OBSERVED_IPV4_ADDR`] or [`Type::OBSERVED_IPV6_ADDR`]. + /// [`FrameType::OBSERVED_IPV4_ADDR`] or [`FrameType::OBSERVED_IPV6_ADDR`]. pub(crate) fn read(bytes: &mut R, is_ipv6: bool) -> coding::Result { let seq_no = bytes.get()?; let ip = if is_ipv6 {