From 74c26a8c710ea8a39a0a2392f274e30bafc48454 Mon Sep 17 00:00:00 2001 From: Tristan Guichaoua Date: Mon, 8 Aug 2022 17:29:03 +0200 Subject: [PATCH] fix doc --- src/api/build_type.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/build_type.rs b/src/api/build_type.rs index 13e05c4e..b50612b1 100644 --- a/src/api/build_type.rs +++ b/src/api/build_type.rs @@ -6,7 +6,7 @@ use crate::Engine; /// # Example /// /// ``` -/// use rhai::{Engine, RhaiCustomType}; +/// use rhai::{Engine, CustomType}; /// /// #[derive(Debug, Clone, Eq, PartialEq)] /// struct TestStruct { @@ -22,7 +22,7 @@ use crate::Engine; /// } /// } /// -/// impl RhaiCustomType for TestStruct { +/// impl CustomType for TestStruct { /// fn build(engine: &mut Engine) { /// engine /// .register_type::()