diff options
author | Ivan Tham | 2021-06-19 15:11:26 +0000 |
---|---|---|
committer | Ivan Tham | 2021-06-20 15:13:36 +0000 |
commit | 985625763addd839a101263ae90cfb2f205830fc (patch) | |
tree | f6b682218211b2c29e4ab88f65dcb86b88cc2f46 /helix-term | |
parent | eaf259f8aa57c170e0f3268c837bbb25b934bf80 (diff) |
Fix doc warnings
Diffstat (limited to 'helix-term')
-rw-r--r-- | helix-term/src/compositor.rs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/helix-term/src/compositor.rs b/helix-term/src/compositor.rs index 6b39bb62..0e6a313d 100644 --- a/helix-term/src/compositor.rs +++ b/helix-term/src/compositor.rs @@ -178,13 +178,13 @@ pub trait AnyComponent { /// Returns a boxed any from a boxed self. /// /// Can be used before `Box::downcast()`. - /// - /// # Examples - /// - /// ```rust - /// // let boxed: Box<Component> = Box::new(TextComponent::new("text")); - /// // let text: Box<TextComponent> = boxed.as_boxed_any().downcast().unwrap(); - /// ``` + // + // # Examples + // + // ```rust + // 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>; } |