Skip to content

Commit a26b4d6

Browse files
committed
Include README, so that we test its code examples
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
1 parent 3c18954 commit a26b4d6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,7 @@ pub mod session;
7171

7272
pub use reader::ReadUntil;
7373
pub use session::{spawn, spawn_bash, spawn_python, spawn_stream};
74+
75+
// include the README.md here to test its doc
76+
#[doc = include_str!("../README.md")]
77+
mod test {}

0 commit comments

Comments
 (0)