|
23 | 23 | //! [`cancel`](trait.Aio.html#method.cancel) or
|
24 | 24 | //! [`aio_cancel_all`](fn.aio_cancel_all.html), though the operating system may
|
25 | 25 | //! not support this for all filesystems and devices.
|
| 26 | +#![allow(clippy::doc_overindented_list_items)] // It looks better this way |
26 | 27 | #[cfg(target_os = "freebsd")]
|
27 | 28 | use std::io::{IoSlice, IoSliceMut};
|
28 | 29 | use std::{
|
@@ -572,8 +573,9 @@ impl<'a> AioRead<'a> {
|
572 | 573 | /// * `fd`: File descriptor to read from
|
573 | 574 | /// * `offs`: File offset
|
574 | 575 | /// * `buf`: A memory buffer. It must outlive the `AioRead`.
|
575 |
| - /// * `prio`: If POSIX Prioritized IO is supported, then the operation |
576 |
| - /// will be prioritized at the process's priority level minus `prio` |
| 576 | + /// * `prio`: If POSIX Prioritized IO is supported, then the |
| 577 | + /// operation will be prioritized at the process's |
| 578 | + /// priority level minus `prio`. |
577 | 579 | /// * `sigev_notify`: Determines how you will be notified of event completion.
|
578 | 580 | pub fn new(
|
579 | 581 | fd: BorrowedFd<'a>,
|
@@ -802,8 +804,9 @@ impl<'a> AioWrite<'a> {
|
802 | 804 | /// * `fd`: File descriptor to write to
|
803 | 805 | /// * `offs`: File offset
|
804 | 806 | /// * `buf`: A memory buffer. It must outlive the `AioWrite`.
|
805 |
| - /// * `prio`: If POSIX Prioritized IO is supported, then the operation |
806 |
| - /// will be prioritized at the process's priority level minus `prio` |
| 807 | + /// * `prio`: If POSIX Prioritized IO is supported, then the |
| 808 | + /// operation will be prioritized at the process's |
| 809 | + /// priority level minus `prio` |
807 | 810 | /// * `sigev_notify`: Determines how you will be notified of event completion.
|
808 | 811 | pub fn new(
|
809 | 812 | fd: BorrowedFd<'a>,
|
|
0 commit comments