diff --git a/src/view/identifiable.rs b/src/view/identifiable.rs index f4f04e6..15a116c 100644 --- a/src/view/identifiable.rs +++ b/src/view/identifiable.rs @@ -14,6 +14,11 @@ pub trait Identifiable: View + Sized { /// # Examples /// /// ```rust,no_run + /// # use cursive::Cursive; + /// # use cursive::views::TextView; + /// # use cursive::view::Boxable; + /// use cursive::view::Identifiable; + /// /// let mut siv = Cursive::new(); /// siv.add_layer( /// TextView::new("foo")