From 28cb0160929a1295309a338a922d2422d4400a21 Mon Sep 17 00:00:00 2001
From: Jonas Fassbender <20799702+jofas@users.noreply.github.com>
Date: Sat, 10 Dec 2022 18:48:57 +0100
Subject: [PATCH] Documentation: extractor page navigation bar is missing
sections (#302)
---
docs/extractors.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/extractors.md b/docs/extractors.md
index 7f3f021..1f6c382 100644
--- a/docs/extractors.md
+++ b/docs/extractors.md
@@ -46,7 +46,7 @@ The following example limits the size of the payload to 4kb and uses a custom er
-# URL-Encoded Forms
+## URL-Encoded Forms
A URL-encoded form body can be extracted to a struct, much like `Json`. This type must implement `serde::Deserialize`.
@@ -64,7 +64,7 @@ Actix Web also provides many other extractors, here's a few important ones:
- [`Bytes`][bytes] - You can convert a request's payload into _Bytes_. [_An example_][bytesexample] is available in the rustdoc.
- [`Payload`][payload] - Low-level payload extractor primarily for building other extractors. [_An example_][payloadexample] is available in the rustdoc.
-# Application State Extractor
+## Application State Extractor
Application state is accessible from the handler with the `web::Data` extractor; however, state is accessible as a read-only reference. If you need mutable access to state, it must be implemented.