Skip to content

Commit eb55686

Browse files
committed
doc: fix too_long_first_doc_paragraph
1 parent 88cfb5c commit eb55686

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

compio-driver/src/op.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
//! The async operations.
2+
//!
23
//! Types in this mod represents the low-level operations passed to kernel.
34
//! The operation itself doesn't perform anything.
45
//! You need to pass them to [`crate::Proactor`], and poll the driver.

compio-io/src/compat.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ use pin_project_lite::pin_project;
1313
use crate::{buffer::Buffer, util::DEFAULT_BUF_SIZE};
1414

1515
/// A wrapper for [`AsyncRead`](crate::AsyncRead) +
16-
/// [`AsyncWrite`](crate::AsyncWrite), providing sync traits impl. The sync
17-
/// methods will return [`io::ErrorKind::WouldBlock`] error if the inner buffer
18-
/// needs more data.
16+
/// [`AsyncWrite`](crate::AsyncWrite), providing sync traits impl.
17+
///
18+
/// The sync methods will return [`io::ErrorKind::WouldBlock`] error if the
19+
/// inner buffer needs more data.
1920
#[derive(Debug)]
2021
pub struct SyncStream<S> {
2122
stream: S,

0 commit comments

Comments
 (0)