Remove dead comments

This commit is contained in:
2026-01-01 22:10:50 +00:00
parent 5a395bdadf
commit 9ee8317cb0

View File

@@ -203,18 +203,6 @@ pub const Message = union(MessageType) {
/// An error should be handled by cleaning up this connection.
pub fn next(alloc: std.mem.Allocator, in: *std.Io.Reader) !Message {
// errdefer |err| {
// std.debug.print("Error occurred: {}\n", .{err});
// // Get the error return trace
// if (@errorReturnTrace()) |trace| {
// std.debug.print("Error return trace:\n", .{});
// std.debug.dumpStackTrace(trace);
// } else {
// std.debug.print("No error return trace available\n", .{});
// }
// }
var operation_string: std.ArrayList(u8) = blk: {
var buf: ["CONTINUE".len + 1]u8 = undefined;
break :blk .initBuffer(&buf);
@@ -390,7 +378,6 @@ pub const Message = union(MessageType) {
};
fn readSubject(alloc: std.mem.Allocator, in: *std.Io.Reader) ![]const u8 {
// TODO: should be ARENA allocator
var subject_list: std.ArrayList(u8) = try .initCapacity(alloc, 1024);
// Handle the first character