mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
std.http: fix typo
This commit is contained in:
parent
6672921e32
commit
11dce78944
1 changed files with 2 additions and 2 deletions
|
|
@ -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",
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue