From a2543ef78ee39f75b526bb8576b2ac35595bc999 Mon Sep 17 00:00:00 2001 From: "sashakoshka@tebibyte.media" Date: Wed, 9 Oct 2024 21:45:55 -0400 Subject: [PATCH] Remove pointless seek --- bulb/bulb.ha | 1 - 1 file changed, 1 deletion(-) diff --git a/bulb/bulb.ha b/bulb/bulb.ha index ed0f4c8..fe485f8 100644 --- a/bulb/bulb.ha +++ b/bulb/bulb.ha @@ -102,7 +102,6 @@ fn seek_to_nth_last_line(file: io::handle, number: int) (void | io::error) = { case let length: size => yield length; case io::EOF => break; }; - io::seek(file, current, io::whence::SET)?; // look for line breaks in that chunk let buffer = buffer[..length];