From dabf396fc9397f95cd6f2a2d7aaaad0fee23b027 Mon Sep 17 00:00:00 2001 From: Rene Schallner Date: Sun, 15 Jan 2023 02:48:24 +0100 Subject: [PATCH] updated comments --- examples/endpoints/users.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/endpoints/users.zig b/examples/endpoints/users.zig index 49bdef6..653dcce 100644 --- a/examples/endpoints/users.zig +++ b/examples/endpoints/users.zig @@ -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);