Skip to content

Conversation

@mondeja
Copy link
Contributor

@mondeja mondeja commented Aug 16, 2024

See v0.4.0 release of tower_http:

ServeDir and ServeFile's error types are now Infallible and any IO errors will be converted into responses.

I'm getting an unreachable pattern clippy warning for Err because of this.

@mondeja mondeja changed the title Update fileserv::get_static_file for tower_http >= v0.4 Update fileserv::get_static_file for tower_http ^0.4 Aug 16, 2024
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.

1 participant