Add docs to run the example

This commit is contained in:
Maik Klein 2019-06-08 19:32:29 +02:00 committed by GitHub
parent db9fa8182a
commit 4b328a536a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,6 +30,7 @@ let instance = entry.create_instance(&create_info, None).expect("Instance");
let devices = instance.enumerate_physical_devices();
println!("{:?}", devices);
```
You can run the example with `cargo run`.
## How does it work?