mirror of
https://git.robbyzambito.me/zits
synced 2026-02-04 19:54:48 +00:00
Remove dead comments
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user