Merge pull request #243 from chrisboyce/chrisboyce-tut2-fix

No "first()" method on Iterator
pull/251/head
sotrh 3 years ago committed by GitHub
commit b40fbb6121
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -80,7 +80,7 @@ let adapter = instance
// Check if this adapter supports our surface
surface.get_preferred_format(&adapter).is_some()
})
.first()
.next()
.unwrap()
```

Loading…
Cancel
Save