From 803c447191aa170ce36931a561e84571776ace85 Mon Sep 17 00:00:00 2001 From: Vighnesh Sawant <79126938+vighnesh-sawant@users.noreply.github.com> Date: Sun, 21 Dec 2025 16:32:27 +0530 Subject: [PATCH] Fix docs saying source instead of destination This a very minor docs typo I noticed. --- etherparse/src/net/ipv4_header_slice.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etherparse/src/net/ipv4_header_slice.rs b/etherparse/src/net/ipv4_header_slice.rs index dfbbc15a..1dcf250d 100644 --- a/etherparse/src/net/ipv4_header_slice.rs +++ b/etherparse/src/net/ipv4_header_slice.rs @@ -293,7 +293,7 @@ impl<'a> Ipv4HeaderSlice<'a> { Ipv4Addr::from(self.source()) } - /// Returns a slice containing the ipv4 source address. + /// Returns a slice containing the ipv4 destination address. #[inline] pub fn destination(&self) -> [u8; 4] { // SAFETY: