Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: documentation link to passing state #3074

Merged
merged 1 commit into from
Dec 11, 2024
Merged

Conversation

like-a-bause
Copy link
Contributor

Motivation

The documentation link for passing state to handlers in AddExtension was linking to a section in middleware documentation that does not exist anymore.

Solution

Linked to https://docs.rs/axum/latest/axum/middleware/index.html#passing-state-from-middleware-to-handlers instead which looks like the right section.

@yanns yanns merged commit 2ba7c43 into tokio-rs:main Dec 11, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants