From 5f1f43e645eddfff16c7acf6690be10b3979e9e5 Mon Sep 17 00:00:00 2001 From: alemi Date: Mon, 21 Aug 2023 02:47:52 +0200 Subject: [PATCH] feat: derive Debug for controllers --- src/buffer/controller.rs | 1 + src/cursor/controller.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/buffer/controller.rs b/src/buffer/controller.rs index a4afc80..b0eee32 100644 --- a/src/buffer/controller.rs +++ b/src/buffer/controller.rs @@ -29,6 +29,7 @@ use super::TextChange; /// Operation Sequences easily /// /// upon dropping this handle will stop the associated worker +#[derive(Debug)] pub struct BufferController { content: watch::Receiver, operations: mpsc::UnboundedSender, diff --git a/src/cursor/controller.rs b/src/cursor/controller.rs index a6a76c1..7d45379 100644 --- a/src/cursor/controller.rs +++ b/src/cursor/controller.rs @@ -18,6 +18,7 @@ use crate::{proto::{CursorPosition, CursorEvent}, Error, Controller, errors::Ign /// for each controller a worker exists, managing outgoing and inbound event queues /// /// upon dropping this handle will stop the associated worker +#[derive(Debug)] pub struct CursorController { uid: String, op: mpsc::UnboundedSender,