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 path route in extractor docs #711

Merged
merged 1 commit into from
Jan 18, 2022
Merged

Conversation

AaronErhardt
Copy link
Contributor

Motivation

The extract docs suggest that you don't need path/:variable in path extractor routes but actually you do.

Solution

Add :user_id to the path of the route.

Copy link
Member

@davidpdrsn davidpdrsn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@davidpdrsn davidpdrsn enabled auto-merge (squash) January 18, 2022 13:13
@davidpdrsn davidpdrsn merged commit 50f42d8 into tokio-rs:main Jan 18, 2022
davidpdrsn pushed a commit that referenced this pull request Feb 22, 2022
davidpdrsn pushed a commit that referenced this pull request Feb 22, 2022
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