Skip to content

Commit 36b8140

Browse files
author
Pi-Cla
committed
Add sections to StatusCode documentation
1 parent ec95511 commit 36b8140

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/status.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -453,9 +453,9 @@ status_codes! {
453453
/// 421 Misdirected Request
454454
/// [RFC7540, Section 9.1.2](https://tools.ietf.org/html/rfc7540#section-9.1.2)
455455
(421, MISDIRECTED_REQUEST, "Misdirected Request");
456-
/// 422 Unprocessable Entity
457-
/// [[RFC4918](https://tools.ietf.org/html/rfc4918)]
458-
(422, UNPROCESSABLE_ENTITY, "Unprocessable Entity");
456+
/// 422 Unprocessable Content
457+
/// [[RFC9110, Section 15.5.21](https://datatracker.ietf.org/doc/html/rfc9110#section-15.5.21)]
458+
(422, UNPROCESSABLE_CONTENT, "Unprocessable Content")
459459
/// 423 Locked
460460
/// [[RFC4918](https://tools.ietf.org/html/rfc4918)]
461461
(423, LOCKED, "Locked");

0 commit comments

Comments
 (0)