aboutsummaryrefslogtreecommitdiff
path: root/lib/std/http/status.zig
diff options
context:
space:
mode:
authorAli Chraghi <alichraghi@pm.me>2022-10-06 19:59:53 +0330
committerVeikka Tuominen <git@vexu.eu>2022-10-06 21:22:20 +0300
commit11dce78944ecfab1838cd678f75c354aa376a8bf (patch)
tree99919c3784c3f139490038f50134c16399f363fa /lib/std/http/status.zig
parent6672921e32638a9f7e7d2d1c7961b2ea33b8b02b (diff)
downloadzig-11dce78944ecfab1838cd678f75c354aa376a8bf.tar.gz
zig-11dce78944ecfab1838cd678f75c354aa376a8bf.zip
std.http: fix typo
Diffstat (limited to 'lib/std/http/status.zig')
-rw-r--r--lib/std/http/status.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/http/status.zig b/lib/std/http/status.zig
index bf96b71c0a..91738e0533 100644
--- a/lib/std/http/status.zig
+++ b/lib/std/http/status.zig
@@ -5,7 +5,7 @@ const std = @import("../std.zig");
pub const Status = enum(u10) {
@"continue" = 100, // RFC7231, Section 6.2.1
- switching_protcols = 101, // RFC7231, Section 6.2.2
+ switching_protocols = 101, // RFC7231, Section 6.2.2
processing = 102, // RFC2518
early_hints = 103, // RFC8297
@@ -77,7 +77,7 @@ pub const Status = enum(u10) {
return switch (self) {
// 1xx statuses
.@"continue" => "Continue",
- .switching_protcols => "Switching Protocols",
+ .switching_protocols => "Switching Protocols",
.processing => "Processing",
.early_hints => "Early Hints",