mirror of
https://github.com/zigzap/zap.git
synced 2025-10-21 07:34:08 +00:00
updated comments
This commit is contained in:
parent
d2752ce34e
commit
dabf396fc9
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue