diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2024-01-18 14:44:15 +0100 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2024-01-18 22:48:57 +0100 |
commit | 6e062ef3fb2b18698a4c4ea3f203a544d2fa5097 (patch) | |
tree | 76aab8da1810644bd65057c478753e93a1317944 | |
parent | 569876ba9503c80c43565d3c9996967f1671c00e (diff) |
par: piece-table: remove comment not needed anymore
Since 49f7232b4c580197413528e03b699ca519905fdc the comment doesn't make
sense, as everything is coherent now.
-rw-r--r-- | par/piece-table.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/par/piece-table.scm b/par/piece-table.scm index 948286a..a9b61f1 100644 --- a/par/piece-table.scm +++ b/par/piece-table.scm @@ -189,7 +189,7 @@ (rem pos)) (let* ((current (car ps)) (len (piece-length current))) - (if (<= rem len) ; TODO not cool when removing! + (if (<= rem len) (values idx rem) (loop (+ idx 1) (cdr ps) (- rem len)))))) |