Skip to content

Commit be66f8e

Browse files
committed
fix documentation
1 parent bebb200 commit be66f8e

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

crates/prettytty/src/conn.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -382,12 +382,8 @@ impl Output<'_> {
382382
///
383383
/// This method tries to write the first command to the terminal's output.
384384
/// If that succeeds, it enqueues the second command for execution when the
385-
/// connection is being closed.
386-
///
387-
///
388-
/// This method tries to write out the first command. If it succeeds at that,
389-
/// this method enqueues the second command
390-
/// writes out the first command and then flushes the output.
385+
/// connection is being closed and then flushes the output.
386+
391387
#[must_use = "method returns result that may indicate an error"]
392388
pub fn exec_defer<C1, C2>(&mut self, cmd1: C1, cmd2: C2) -> Result<()>
393389
where

0 commit comments

Comments
 (0)