Skip to content

Commit 0997a9c

Browse files
author
Hui Zhu
authored
Merge pull request #45 from Tim-Zhang/doc-fix
Hide docs for mod async to avoid the confusion
2 parents 1ad080c + 95b6a31 commit 0997a9c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/asynchronous/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// SPDX-License-Identifier: Apache-2.0
44
//
55

6-
//! Server and client in async mode.
6+
//! Server and client in async mode (alias r#async).
77
88
pub mod client;
99
pub mod server;

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,6 @@ cfg_sync! {
5959

6060
cfg_async! {
6161
pub mod asynchronous;
62+
#[doc(hidden)]
6263
pub use crate::asynchronous as r#async;
6364
}

0 commit comments

Comments
 (0)