Add rust syntax to readme snippet

This commit is contained in:
Azriel Hoh 2022-12-22 09:23:46 +13:00 committed by Jeremy Soller
parent 254d33caf6
commit 80b45a9a68

View file

@ -54,7 +54,7 @@ For now, the priority for new platforms is:
Example
==
```no_run
```rust,no_run
use swbuf::GraphicsContext;
use winit::event::{Event, WindowEvent};
use winit::event_loop::{ControlFlow, EventLoop};