diff --git a/crates/typst-syntax/src/lines.rs b/crates/typst-syntax/src/lines.rs index 63b005107..2496258b2 100644 --- a/crates/typst-syntax/src/lines.rs +++ b/crates/typst-syntax/src/lines.rs @@ -26,7 +26,6 @@ pub struct Line { } impl> Lines { - /// TODO: memoize this? pub fn new(text: S) -> Self { let lines = lines(text.as_ref()); Lines(Arc::new(Repr { lines, text }))