authorgravatar for alichraghi@proton.meAli Chraghi <alichraghi@proton.me> 2022-10-06 19:59:53+03:30
committergravatar for git@vexu.euVeikka Tuominen <git@vexu.eu> 2022-10-06 21:22:20+03:00
log11dce78944ecfab1838cd678f75c354aa376a8bf
tree99919c3784c3f139490038f50134c16399f363fa
parent6672921e32638a9f7e7d2d1c7961b2ea33b8b02b

std.http: fix typo


1 files changed, 2 insertions(+), 2 deletions(-)

lib/std/http/status.zig+2-2
......@@ -5,7 +5,7 @@ const std = @import("../std.zig");
55
66pub const Status = enum(u10) {
77 @"continue" = 100, // RFC7231, Section 6.2.1
8 switching_protcols = 101, // RFC7231, Section 6.2.2
8 switching_protocols = 101, // RFC7231, Section 6.2.2
99 processing = 102, // RFC2518
1010 early_hints = 103, // RFC8297
1111
......@@ -77,7 +77,7 @@ pub const Status = enum(u10) {
7777 return switch (self) {
7878 // 1xx statuses
7979 .@"continue" => "Continue",
80 .switching_protcols => "Switching Protocols",
80 .switching_protocols => "Switching Protocols",
8181 .processing => "Processing",
8282 .early_hints => "Early Hints",
8383