mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-07-11 01:09:36 -04:00
remove misplaced doc comments
This commit is contained in:
parent
78e5590d5b
commit
30f2879827
1 changed files with 5 additions and 5 deletions
|
@ -26,7 +26,7 @@ cfg_if! {
|
||||||
use std::convert::TryInto;
|
use std::convert::TryInto;
|
||||||
use std::ffi::CStr;
|
use std::ffi::CStr;
|
||||||
use std::io;
|
use std::io;
|
||||||
use std::os::raw::{c_int, c_char};
|
use std::os::raw::{c_char, c_int};
|
||||||
use tools::*;
|
use tools::*;
|
||||||
|
|
||||||
fn get_interface_name(index: u32) -> io::Result<String> {
|
fn get_interface_name(index: u32) -> io::Result<String> {
|
||||||
|
@ -187,9 +187,9 @@ impl PlatformSupportNetlink {
|
||||||
Some(InterfaceAddress::new(
|
Some(InterfaceAddress::new(
|
||||||
IfAddr::V4(Ifv4Addr {
|
IfAddr::V4(Ifv4Addr {
|
||||||
ip,
|
ip,
|
||||||
/// The netmask of the interface.
|
// The netmask of the interface.
|
||||||
netmask,
|
netmask,
|
||||||
/// The broadcast address of the interface.
|
// The broadcast address of the interface.
|
||||||
broadcast,
|
broadcast,
|
||||||
}),
|
}),
|
||||||
flags_to_address_flags(flags),
|
flags_to_address_flags(flags),
|
||||||
|
@ -234,9 +234,9 @@ impl PlatformSupportNetlink {
|
||||||
Some(InterfaceAddress::new(
|
Some(InterfaceAddress::new(
|
||||||
IfAddr::V6(Ifv6Addr {
|
IfAddr::V6(Ifv6Addr {
|
||||||
ip,
|
ip,
|
||||||
/// The netmask of the interface.
|
// The netmask of the interface.
|
||||||
netmask,
|
netmask,
|
||||||
/// The broadcast address of the interface.
|
// The broadcast address of the interface.
|
||||||
broadcast: None,
|
broadcast: None,
|
||||||
}),
|
}),
|
||||||
flags_to_address_flags(flags),
|
flags_to_address_flags(flags),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue