mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-30 10:43:56 +00:00
Fix all doc warnings
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
160cb9cdb5
commit
b49e11a25e
@ -39,7 +39,7 @@ pub trait Iface: internal::IfaceInternal + Send + Sync {
|
||||
/// Bind a socket to the iface. So the packet for this socket will be dealt with by the interface.
|
||||
/// If port is None, the iface will pick up an empheral port for the socket.
|
||||
/// FIXME: The reason for binding socket and interface together is because there are limitations inside smoltcp.
|
||||
/// See discussion at https://github.com/smoltcp-rs/smoltcp/issues/779.
|
||||
/// See discussion at <https://github.com/smoltcp-rs/smoltcp/issues/779>.
|
||||
fn bind_socket(
|
||||
&self,
|
||||
socket: Box<AnyUnboundSocket>,
|
||||
|
@ -3,7 +3,7 @@
|
||||
use crate::prelude::*;
|
||||
|
||||
/// Shutdown types
|
||||
/// From https://elixir.bootlin.com/linux/v6.0.9/source/include/linux/net.h
|
||||
/// From <https://elixir.bootlin.com/linux/v6.0.9/source/include/linux/net.h>
|
||||
#[repr(i32)]
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, TryFromInt)]
|
||||
#[allow(non_camel_case_types)]
|
||||
|
Reference in New Issue
Block a user