From d3d86a2f45ed84b2cb89f00a6f294b8a8471ed22 Mon Sep 17 00:00:00 2001 From: Alexandre Bury Date: Tue, 2 Aug 2016 23:26:59 -0700 Subject: [PATCH] Fix clippy warning --- src/views/text_area.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/views/text_area.rs b/src/views/text_area.rs index 1b6ff7e..4d370e6 100644 --- a/src/views/text_area.rs +++ b/src/views/text_area.rs @@ -39,6 +39,8 @@ fn make_rows(text: &str, width: usize) -> Vec { .collect() } +new_default!(TextArea); + impl TextArea { /// Creates a new, empty TextArea. pub fn new() -> Self {