aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-06-07 14:05:39 +0000
committerBlaž Hrastnik2021-06-07 14:05:39 +0000
commit4fd38f82a36f9874219b5169488133d97cc5e66c (patch)
tree6009e55ad4d0a933391d0eebe54f40085290951f
parentb5682f984b596da32662dc8b5918811318b0c59f (diff)
Disable failing doctest
-rw-r--r--helix-term/src/compositor.rs6
1 files changed, 2 insertions, 4 deletions
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<Component> = Box::new(TextComponent::new("text"));
- /// let text: Box<TextComponent> = boxed.as_boxed_any().downcast().unwrap();
+ /// // let boxed: Box<Component> = Box::new(TextComponent::new("text"));
+ /// // let text: Box<TextComponent> = boxed.as_boxed_any().downcast().unwrap();
/// ```
fn as_boxed_any(self: Box<Self>) -> Box<dyn Any>;
}