mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-20 04:00:01 +00:00
Add instructions for running examples in README.md
This commit is contained in:
parent
48660b1a75
commit
1f306c59f2
12
README.md
12
README.md
@ -102,3 +102,15 @@ assert!(check);
|
||||
### More examples
|
||||
|
||||
See the [examples](./examples/) directory for some demonstrations of Rustframe's syntax and functionality.
|
||||
|
||||
To run the examples, use:
|
||||
|
||||
```bash
|
||||
cargo run --example <example_name>
|
||||
```
|
||||
|
||||
E.g. to run the `game_of_life` example:
|
||||
|
||||
```bash
|
||||
cargo run --example game_of_life
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user