fix misleading comment

Co-authored-by: Karl Seguin <karlseguin@users.noreply.github.com>
This commit is contained in:
Halil DurakandKarl Seguin authored and GitHub committed 2025-10-09 14:00:39 +03:00
1 parent 0634acdac4
commit 07948304b2
1 file changed
+1 -1
+1 -1
View File
@@ -315,7 +315,7 @@ pub const Cookie = struct {
const ValidateCookieError = error{ Empty, InvalidByteSequence };
/// Returns an error if cookie str length is 0
/// or contains characters between 32...126.
/// or contains characters outside of the ascii range 32...126.
fn validateCookieString(str: []const u8) ValidateCookieError!void {
if (str.len == 0) {
return error.Empty;