diff options
author | Sunil Nimmagadda <sunil@nimmagadda.net> | 2025-07-01 13:51:53 +0530 |
---|---|---|
committer | Sunil Nimmagadda <sunil@nimmagadda.net> | 2025-07-01 13:51:53 +0530 |
commit | 32f16b178c01a111cff972931c3e1ec48013f15e (patch) | |
tree | 8ad841a71f044745b7fa9c528b0d0b93067cee8a /src | |
parent | ec1ed6738bbfb670fcb409b08ed53c509a7b957d (diff) |
Markup the comment so they are formatted properly with eldoc.
Diffstat (limited to 'src')
-rw-r--r-- | src/vrrpv2.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vrrpv2.rs b/src/vrrpv2.rs index 14c4146..a039ced 100644 --- a/src/vrrpv2.rs +++ b/src/vrrpv2.rs @@ -5,6 +5,7 @@ use std::net::Ipv4Addr; /// /// Packet format /// +/// ``` /// 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 /// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ /// |Version| Type | Virtual Rtr ID| Priority | Count IP Addrs| @@ -23,6 +24,7 @@ use std::net::Ipv4Addr; /// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ /// | Authentication Data (2) | /// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +/// ``` #[derive(Debug, PartialEq)] pub struct VRRPv2 { pub virtual_router_id: u8, |