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::()