From db90d00142f302c9c6b3eb8a39feb9b05abc6a6e Mon Sep 17 00:00:00 2001 From: Lucas Kent Date: Thu, 9 Nov 2023 13:13:50 +1100 Subject: [PATCH] Fix ChannelMsg::Close docs --- russh/src/channels/mod.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/russh/src/channels/mod.rs b/russh/src/channels/mod.rs index f3d443dd..aee70c3f 100644 --- a/russh/src/channels/mod.rs +++ b/russh/src/channels/mod.rs @@ -32,6 +32,7 @@ pub enum ChannelMsg { ext: u32, }, Eof, + Close, /// (client only) RequestPty { want_reply: bool, @@ -109,8 +110,6 @@ pub enum ChannelMsg { Success, /// (server only) Failure, - /// (server only) - Close, OpenFailure(ChannelOpenFailure), }