tomaka / rouille

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

Add allow unused_imports before import of AsciiExt trait #178

Closed oherrala closed 6 years ago

oherrala commented 6 years ago

The AsciiExt trait was removed in Rust 1.23.0 and no longer needed for newer Rust. However, to support older Rust versions the trait is needed. This change keeps the import of trait and removes the warning on newer Rusts.

This is the recommended way to deal with the issue in Rust 1.23 release notes: https://blog.rust-lang.org/2018/01/04/Rust-1.23.html

tomaka commented 6 years ago

Thanks!