diff --git a/lib/srv/desktop/rdp/rdpclient/src/client/global.rs b/lib/srv/desktop/rdp/rdpclient/src/client/global.rs index 380e53e5c1767..353d71f57edc9 100644 --- a/lib/srv/desktop/rdp/rdpclient/src/client/global.rs +++ b/lib/srv/desktop/rdp/rdpclient/src/client/global.rs @@ -27,8 +27,8 @@ //! managed by Go). //! //! In practice this primarily means ensuring that any such global, static -//! structures that might be accessed directly by a call from go are [`Send`] -//! + [`Sync`] and thus are only mutated when locked. See [`assert_send_sync`] +//! structures that might be accessed directly by a call from go are `Send + Sync` +//! and thus are only mutated when locked. See `assert_send_sync` //! below for an example of how this is enforced. use super::ClientHandle; diff --git a/lib/srv/desktop/rdp/rdpclient/src/lib.rs b/lib/srv/desktop/rdp/rdpclient/src/lib.rs index 845e3355813e4..08f79ee9f13ad 100644 --- a/lib/srv/desktop/rdp/rdpclient/src/lib.rs +++ b/lib/srv/desktop/rdp/rdpclient/src/lib.rs @@ -486,19 +486,6 @@ pub enum CGODisconnectCode { DisconnectCodeServer = 2, } -#[repr(C)] -pub struct CGOReadRdpOutputReturns { - user_message: *const c_char, - disconnect_code: CGODisconnectCode, - err_code: CGOErrCode, -} - -#[repr(C)] -pub struct CGOClientOrError { - client: u64, - err: CGOErrCode, -} - /// CGOMousePointerEvent is a CGO-compatible version of PointerEvent that we pass back to Go. /// PointerEvent is a mouse move or click update from the user. #[repr(C)]