Rust-SDL2 / rust-sdl2

SDL2 bindings for Rust
MIT License
2.65k stars 465 forks source link

Remove warnings #1399

Open e5f6bd opened 1 month ago

e5f6bd commented 1 month ago

This is a trivial pull request that suppresses (some of the) warnings.

Cobrand commented 1 month ago

I'd rather implement it in another way than just remove the "deprecated" warnings. Who knows, in a future edition they might not work anymore, and then we'd be very happy to still have those warnings.

antonilol commented 3 weeks ago

Instead of #[allow(deprecated)], I removed them in this pr because description was replaced with the Display trait (ttf/context.rs diff there)