1
0
Fork 0
mirror of https://github.com/zigzap/zap.git synced 2025-10-21 07:34:08 +00:00

updated comments

This commit is contained in:
Rene Schallner 2023-01-15 02:48:24 +01:00
parent d2752ce34e
commit dabf396fc9

View file

@ -27,8 +27,8 @@ pub fn init(a: std.mem.Allocator) Self {
};
}
/// the request will be freed (and reused by facilio) when it's
/// completed, so we take copies of the names
// the request will be freed (and its mem reused by facilio) when it's
// completed, so we take copies of the names
pub fn addByName(self: *Self, first: ?[]const u8, last: ?[]const u8) !usize {
// TODO: get rid of the temp allocation here
var temp = try self.alloc.alloc(InternalUser, 1);