tomaka / rouille

Web framework in Rust
Apache License 2.0
1.09k stars 105 forks source link

`router!()` triggers `manual_strip` clippy warning #244

Closed ravenexp closed 2 years ago

ravenexp commented 2 years ago

Since MSRV was bumped to 1.48, .strip_prefix() method became available.

https://rust-lang.github.io/rust-clippy/master/index.html#manual_strip

Example instance: https://github.com/tomaka/rouille/blob/b49b26c280a11e4e32884b300128e87865dff380/src/router.rs#L315

bradfier commented 2 years ago

Fixed and released as v3.3.1, thanks for the report!