Skip to content

Commit ad5ac37

Browse files
committed
doc_formatter: Remove a resolved TODO
This TODO was resolved when we switched to tree-house. Tree-house's `Highlight` type is a `Option<NonZeroU32>`, so `GraphemeSource` is now 8 bytes in size, as the TODO requests (for a 64-bit arch).
1 parent 7ee4c23 commit ad5ac37

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

helix-core/src/doc_formatter.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ use crate::syntax::Highlight;
2626
use crate::text_annotations::TextAnnotations;
2727
use crate::{Position, RopeSlice};
2828

29-
/// TODO make Highlight a u32 to reduce the size of this enum to a single word.
3029
#[derive(Debug, Clone, Copy)]
3130
pub enum GraphemeSource {
3231
Document {

0 commit comments

Comments
 (0)