pty: fix doc example

This commit is contained in:
Wez Furlong committed 2022-08-12 09:44:49 -07:00
1 parent 517cdc9c1b
commit c8ca80f67e
1 file changed
+1 -1
+1 -1
View File
@@ -33,7 +33,7 @@
//! let mut reader = pair.master.try_clone_reader()?;
//!
//! // Send data to the pty by writing to the master
//! writeln!(pair.master, "ls -l\r\n")?;
//! writeln!(pair.master.take_writer()?, "ls -l\r\n")?;
//! # Ok::<(), Error>(())
//! ```
//!