Add comments to examples.

This commit is contained in:
Stephen Chung
2022-02-12 12:41:04 +08:00
parent 2caf686e8a
commit 3f8f0b250f
9 changed files with 20 additions and 2 deletions

View File

@@ -1,3 +1,5 @@
//! An example that evaluates two pieces of code in separate runs, but using a common `Scope`.
use rhai::{Engine, EvalAltResult, Scope};
fn main() -> Result<(), Box<EvalAltResult>> {