From 1f306c59f257442b70b6e5448c620adc47317890 Mon Sep 17 00:00:00 2001 From: Palash Tyagi <23239946+Magnus167@users.noreply.github.com> Date: Sat, 5 Jul 2025 00:47:57 +0100 Subject: [PATCH] Add instructions for running examples in README.md --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 320fb4f..7840122 100644 --- a/README.md +++ b/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 +``` + +E.g. to run the `game_of_life` example: + +```bash +cargo run --example game_of_life +```