Radish alpha
r
Radicle terminal user interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
lib: Remove left-over docs
Erik Kundt committed 1 year ago
commit d819a2e8270437ee00f32f1d6176ec3157297390
parent d772672e15276affe22d5d660a00e3eef0e24600
1 file changed +0 -9
modified src/ui/im/widget.rs
@@ -938,15 +938,6 @@ pub struct TextEdit<'a> {
}

impl<'a> TextEdit<'a> {
-
    /// # Example
-
    ///
-
    /// ```
-
    /// let mut state = TextEditState::default();
-
    /// let output = im::widget::TextEdit::new(&mut text, &mut cursor).show(ui, frame);
-
    /// if output.response.changed {
-
    ///     state = output.state;
-
    /// }
-
    /// ```
    pub fn new(text: &'a mut String, cursor: &'a mut usize, borders: Option<Borders>) -> Self {
        Self {
            text,