From 1a3a92463405fdd4738fbdbfda212aef58a2919d Mon Sep 17 00:00:00 2001 From: notoria Date: Sun, 6 Jun 2021 17:55:05 +0200 Subject: Implement Debug for data structure as a feature --- helix-core/src/transaction.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'helix-core/src/transaction.rs') diff --git a/helix-core/src/transaction.rs b/helix-core/src/transaction.rs index 3a719628..24abe0ab 100644 --- a/helix-core/src/transaction.rs +++ b/helix-core/src/transaction.rs @@ -15,6 +15,7 @@ pub enum Operation { Insert(Tendril), } +#[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, PartialEq, Eq)] pub enum Assoc { Before, -- cgit v1.2.3-70-g09d2