1
1
mirror of https://github.com/wez/wezterm.git synced 2025-01-08 23:17:36 +03:00

pty: fix doc example

This commit is contained in:
Wez Furlong 2022-08-12 09:44:49 -07:00
parent 517cdc9c1b
commit c8ca80f67e

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>(())
//! ```
//!