From 7bd48afeed41995723c16bc9f6787da9e1f88da3 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Fri, 12 Sep 2025 08:53:31 +0200 Subject: [PATCH] Expose type aliases that are used in pub interfaces Signed-off-by: Matthias Beyer --- src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index da18560a8..1c651bbdd 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -131,13 +131,13 @@ mod types; /// Error encountered when parsing a script. type PERR = ParseErrorType; /// Evaluation result. -type ERR = EvalAltResult; +pub type ERR = EvalAltResult; /// General evaluation error for Rhai scripts. -type RhaiError = Box; +pub type RhaiError = Box; /// Generic [`Result`] type for Rhai functions. -type RhaiResultOf = Result; +pub type RhaiResultOf = Result; /// General [`Result`] type for Rhai functions returning [`Dynamic`] values. -type RhaiResult = RhaiResultOf; +pub type RhaiResult = RhaiResultOf; /// The system integer type. It is defined as [`i64`]. ///