Add rust syntax to readme snippet
This commit is contained in:
parent
254d33caf6
commit
80b45a9a68
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ For now, the priority for new platforms is:
|
||||||
|
|
||||||
Example
|
Example
|
||||||
==
|
==
|
||||||
```no_run
|
```rust,no_run
|
||||||
use swbuf::GraphicsContext;
|
use swbuf::GraphicsContext;
|
||||||
use winit::event::{Event, WindowEvent};
|
use winit::event::{Event, WindowEvent};
|
||||||
use winit::event_loop::{ControlFlow, EventLoop};
|
use winit::event_loop::{ControlFlow, EventLoop};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue