Skip to content

Conversation

unixzii
Copy link

@unixzii unixzii commented Jul 16, 2025

Motivation

Comments in the example code of Router::route_service() might be confusing. axum::body::BoxBody is not a public item and the description of what axum::routing::any_service does also seems inaccurate.

Solution

The PR fixes some factual errors and clarifies the purpose of axum::routing::any_service.

This should fix #2536.

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.

Router::route_service() example code is out of date

1 participant