misc: Fix clippy - doc list item overindented
Reported by 1.86.0-beta.1 (f0cb41030 2025-02-17). Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
This commit is contained in:
parent
5cb5115456
commit
c441bb2968
3 changed files with 5 additions and 5 deletions
|
|
@ -1552,7 +1552,7 @@ impl VfioPciDevice {
|
|||
/// # Arguments
|
||||
///
|
||||
/// * `vm` - The VM object. It is used to set the VFIO MMIO regions
|
||||
/// as user memory regions.
|
||||
/// as user memory regions.
|
||||
/// * `mem_slot` - The closure to return a memory slot.
|
||||
pub fn map_mmio_regions(&mut self) -> Result<(), VfioPciError> {
|
||||
let fd = self.device.as_raw_fd();
|
||||
|
|
|
|||
|
|
@ -146,9 +146,9 @@ where
|
|||
/// Returns:
|
||||
/// - `Ok(())`: the packet has been successfully filled in and is ready for delivery;
|
||||
/// - `Err(VsockError::NoData)`: there was no data available with which to fill in the
|
||||
/// packet;
|
||||
/// packet;
|
||||
/// - `Err(VsockError::PktBufMissing)`: the packet would've been filled in with data, but
|
||||
/// it is missing the data buffer.
|
||||
/// it is missing the data buffer.
|
||||
///
|
||||
fn recv_pkt(&mut self, pkt: &mut VsockPacket) -> VsockResult<()> {
|
||||
// Perform some generic initialization that is the same for any packet operation (e.g.
|
||||
|
|
|
|||
|
|
@ -191,7 +191,7 @@ pub trait Transportable: Pausable + Snapshottable {
|
|||
///
|
||||
/// * `snapshot` - The migratable component snapshot to send.
|
||||
/// * `destination_url` - The destination URL to send the snapshot to. This
|
||||
/// could be an HTTP endpoint, a TCP address or a local file.
|
||||
/// could be an HTTP endpoint, a TCP address or a local file.
|
||||
fn send(
|
||||
&self,
|
||||
_snapshot: &Snapshot,
|
||||
|
|
@ -205,7 +205,7 @@ pub trait Transportable: Pausable + Snapshottable {
|
|||
/// # Arguments
|
||||
///
|
||||
/// * `source_url` - The source URL to fetch the snapshot from. This could be an HTTP
|
||||
/// endpoint, a TCP address or a local file.
|
||||
/// endpoint, a TCP address or a local file.
|
||||
fn recv(&self, _source_url: &str) -> std::result::Result<Snapshot, MigratableError> {
|
||||
Ok(Snapshot::default())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue