feat: derive Debug for controllers

This commit is contained in:
əlemi 2023-08-21 02:47:52 +02:00
parent 0cce1d1ea0
commit 5f1f43e645
2 changed files with 2 additions and 0 deletions

View file

@ -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<String>,
operations: mpsc::UnboundedSender<OperationSeq>,

View file

@ -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<CursorEvent>,