From 6776616e051ac97a75e7deb2215deca00ee54f40 Mon Sep 17 00:00:00 2001 From: Noratrieb <48135649+Noratrieb@users.noreply.github.com> Date: Fri, 16 Aug 2024 16:49:32 +0200 Subject: [PATCH] update docs --- ssh-connection/src/lib.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ssh-connection/src/lib.rs b/ssh-connection/src/lib.rs index 09be3c2..02ea4f2 100644 --- a/ssh-connection/src/lib.rs +++ b/ssh-connection/src/lib.rs @@ -417,9 +417,7 @@ impl ChannelsState { } /// Executes an operation on the channel. - /// - /// # Panics - /// This will panic when the channel has already been closed. + /// If the channel has already been closed, the operation is dropped. pub fn do_operation(&mut self, op: ChannelOperation) { op.trace();