From 4fd38f82a36f9874219b5169488133d97cc5e66c Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Mon, 7 Jun 2021 23:05:39 +0900 Subject: Disable failing doctest --- helix-term/src/compositor.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'helix-term') diff --git a/helix-term/src/compositor.rs b/helix-term/src/compositor.rs index 9811655c..99f9bb0e 100644 --- a/helix-term/src/compositor.rs +++ b/helix-term/src/compositor.rs @@ -182,10 +182,8 @@ pub trait AnyComponent { /// # Examples /// /// ```rust - /// # use cursive_core::views::TextComponent; - /// # use cursive_core::view::Component; - /// let boxed: Box = Box::new(TextComponent::new("text")); - /// let text: Box = boxed.as_boxed_any().downcast().unwrap(); + /// // let boxed: Box = Box::new(TextComponent::new("text")); + /// // let text: Box = boxed.as_boxed_any().downcast().unwrap(); /// ``` fn as_boxed_any(self: Box) -> Box; } -- cgit v1.2.3-70-g09d2