mirror of
https://github.com/typst/typst
synced 2025-08-24 03:34:14 +08:00
chore: remove todo
This commit is contained in:
parent
a6ab61e3c7
commit
3bde9cf52d
@ -26,7 +26,6 @@ pub struct Line {
|
||||
}
|
||||
|
||||
impl<S: AsRef<str>> Lines<S> {
|
||||
/// TODO: memoize this?
|
||||
pub fn new(text: S) -> Self {
|
||||
let lines = lines(text.as_ref());
|
||||
Lines(Arc::new(Repr { lines, text }))
|
||||
|
Loading…
x
Reference in New Issue
Block a user