Removing & reference from new() parameter

pull/456/head
cpadilla 1 year ago committed by GitHub
parent 3d225e287a
commit 2fa53e4a4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -207,7 +207,7 @@ Regardless, `PresentMode::Fifo` will always be supported, and `PresentMode::Auto
Now that we've configured our surface properly we can add these new fields at the end of the method.
```rust
async fn new(window: &Window) -> Self {
async fn new(window: Window) -> Self {
// ...
Self {

Loading…
Cancel
Save