Преглед на файлове

Reword Rustdoc comment.

Andrew Walbran преди 2 години
родител
ревизия
352e7cc2ee
променени са 1 файла, в които са добавени 3 реда и са изтрити 2 реда
  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()
     }