zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 11dce78944ecfab1838cd678f75c354aa376a8bf (tree)
parent 6672921e32638a9f7e7d2d1c7961b2ea33b8b02b
Author: Ali Chraghi <alichraghi@pm.me>
Date:   Thu,  6 Oct 2022 19:59:53 +0330

std.http: fix typo

Diffstat:
Mlib/std/http/status.zig | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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",