Move comment

pull/147/head
Hiroaki Yutani 4 years ago
parent a13c43f6b2
commit e5bea6e29f

@ -4,9 +4,9 @@
For convenience we're going to pack all the fields into a struct, and create some methods on that. For convenience we're going to pack all the fields into a struct, and create some methods on that.
```rust ```rust
// main.rs
use winit::Window; use winit::Window;
// main.rs
struct State { struct State {
surface: wgpu::Surface, surface: wgpu::Surface,
device: wgpu::Device, device: wgpu::Device,

Loading…
Cancel
Save