Merge pull request #456 from cpadilla/master

Removing & reference from new() parameter
pull/479/head
Ben Hansen 1 year ago committed by GitHub
commit 7a5b20a9ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -205,7 +205,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