Fix cargo run command for running examples (#471)

This commit is contained in:
Max Bruckner 2020-09-11 21:19:53 +02:00 committed by GitHub
parent 3b3b0195bc
commit 12e0e99900
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,7 @@
These examples demonstrate the main features of Bevy and how to use them.
To run an example, use the command `cargo run --example <Example>`, and add the option `--features x11` or `--features wayland` to force the example to run on a specific window compositor, e.g.
```
cargo run --features wayland hello_world
cargo run --features wayland --example hello_world
```
## Hello, World!