Explorar el Código

Reword Rustdoc comment.

Andrew Walbran hace 2 años
padre
commit
352e7cc2ee
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3 2
      src/device/blk.rs

+ 3 - 2
src/device/blk.rs

@@ -259,8 +259,9 @@ impl<H: Hal, T: Transport> VirtIOBlk<H, T> {
         self.queue.pop_used().map(|p| p.0)
     }
 
-    /// Return size of its VirtQueue.
-    /// It can be used to tell the caller how many channels he should monitor on.
+    /// Returns the size of the device's VirtQueue.
+    ///
+    /// This can be used to tell the caller how many channels to monitor on.
     pub fn virt_queue_size(&self) -> u16 {
         self.queue.size()
     }