carllerche / tower-web

A fast, boilerplate free, web framework for Rust
MIT License
980 stars 51 forks source link

Fix a Clippy warning inside Response macro #155

Closed whitfin closed 5 years ago

whitfin commented 5 years ago

I noticed that Clippy complains about this case for almost all projects which use tower-web, which can be quite annoying. Since the fix is tiny, I figured it wouldn't hurt to file this!