From 87e51cb8fe7ce30396a2c2eb38b97027ef10598b Mon Sep 17 00:00:00 2001 From: l1npengtul Date: Mon, 31 Oct 2022 22:26:04 +0900 Subject: [PATCH] adjust warnings doc --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index 9ea638bb..e7611418 100644 --- a/src/config.rs +++ b/src/config.rs @@ -25,7 +25,7 @@ static AHASH_SEED: OnceLock> = OnceLock::new(); /// This is a global variable, and thus will affect every Rhai instance. /// This should not be used _unless_ you know you need it. /// -/// **WARNING**: +/// # Warning: /// - You can only call this function **ONCE** for the whole of your program execution. /// - You should gracefully handle the `Err(())`. /// - You **MUST** call this before **ANY** Rhai operation occurs (e.g. creating an [`Engine`]).