From b72d5849965107798c9907e795bc4f48739abdf6 Mon Sep 17 00:00:00 2001 From: Jacob Jonsson Date: Sun, 15 Mar 2026 15:06:45 +0100 Subject: [PATCH] fixup! refactor: extract modules from bot.zig This comment was added when this refactoring had already been performed. --- src/buffer.zig | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/buffer.zig b/src/buffer.zig index b08bc16..0210e1d 100644 --- a/src/buffer.zig +++ b/src/buffer.zig @@ -6,11 +6,6 @@ const std = @import("std"); // automatically deinited when it is overwritten by supplying a custom // ItemDeinitClosure, using .init_with_closure. pub fn Buffer(comptime T: type, comptime length: usize) type { - // TODO(jassob): Refactor buffer to use a top and len instead of - // top and bottom. - // - // Idea: bottom is always 0 if len != length and otherwise it is - // always top + 1. return struct { items: [length]?T, top: usize,