diff options
author | Ivan Tham | 2021-06-07 14:34:19 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-06-10 13:00:08 +0000 |
commit | 7cc13fefe9bd09ea778a0eb8c26bf133e6ad2476 (patch) | |
tree | 764c662e47f12134a8a7f20211573243100777a5 /helix-core/src/movement.rs | |
parent | 1a3a92463405fdd4738fbdbfda212aef58a2919d (diff) |
Derive debug without feature
Note that this also removed those `finish_non_exhaustive()`.
Diffstat (limited to 'helix-core/src/movement.rs')
-rw-r--r-- | helix-core/src/movement.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/helix-core/src/movement.rs b/helix-core/src/movement.rs index 8a30e4c6..32dfcae3 100644 --- a/helix-core/src/movement.rs +++ b/helix-core/src/movement.rs @@ -1,8 +1,7 @@ use crate::graphemes::{nth_next_grapheme_boundary, nth_prev_grapheme_boundary, RopeGraphemes}; use crate::{coords_at_pos, pos_at_coords, ChangeSet, Position, Range, Rope, RopeSlice, Selection}; -#[cfg_attr(feature = "debug", derive(Debug))] -#[derive(Copy, Clone, PartialEq, Eq)] +#[derive(Debug, Copy, Clone, PartialEq, Eq)] pub enum Direction { Forward, Backward, |