From ad5ac37f492634a0586ff17aca560705e97bfb2d Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Sun, 18 Jan 2026 14:37:35 -0500 Subject: [PATCH] doc_formatter: Remove a resolved TODO This TODO was resolved when we switched to tree-house. Tree-house's `Highlight` type is a `Option`, so `GraphemeSource` is now 8 bytes in size, as the TODO requests (for a 64-bit arch). --- helix-core/src/doc_formatter.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/helix-core/src/doc_formatter.rs b/helix-core/src/doc_formatter.rs index d7470942..1c3bfec7 100644 --- a/helix-core/src/doc_formatter.rs +++ b/helix-core/src/doc_formatter.rs @@ -26,7 +26,6 @@ use crate::syntax::Highlight; use crate::text_annotations::TextAnnotations; use crate::{Position, RopeSlice}; -/// TODO make Highlight a u32 to reduce the size of this enum to a single word. #[derive(Debug, Clone, Copy)] pub enum GraphemeSource { Document { -- 2.51.2