From 90198d5440316140f06c61d2253e113da4225394 Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Sat, 17 Apr 2021 18:59:20 +0800 Subject: [PATCH] Fix test. --- src/module/mod.rs | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/src/module/mod.rs b/src/module/mod.rs index ed18b507..7a8881c6 100644 --- a/src/module/mod.rs +++ b/src/module/mod.rs @@ -310,17 +310,6 @@ impl Module { } /// Is the [`Module`] internal? - /// - /// # Example - /// - /// ``` - /// use rhai::Module; - /// - /// let mut module = Module::new(); - /// assert!(!module.is_internal()); - /// module.set_internal(true); - /// assert!(module.is_internal()); - /// ``` #[allow(dead_code)] #[inline(always)] pub(crate) fn is_internal(&self) -> bool { @@ -328,17 +317,6 @@ impl Module { } /// Set the interal status of the [`Module`]. - /// - /// # Example - /// - /// ``` - /// use rhai::Module; - /// - /// let mut module = Module::new(); - /// assert!(!module.is_internal()); - /// module.set_internal(true); - /// assert!(module.is_internal()); - /// ``` #[inline(always)] pub(crate) fn set_internal(&mut self, value: bool) -> &mut Self { self.internal = value;