From 76a14711a343ba1a6ce40c5a9a7dfa8b2f6739cc Mon Sep 17 00:00:00 2001 From: Alexandru Agache Date: Thu, 30 Sep 2021 21:18:38 +0300 Subject: [PATCH] cmdline: derive Clone Signed-off-by: Alexandru Agache --- src/cmdline/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmdline/mod.rs b/src/cmdline/mod.rs index 616aa6b3..a0dd5757 100644 --- a/src/cmdline/mod.rs +++ b/src/cmdline/mod.rs @@ -96,7 +96,7 @@ fn valid_element(s: &str) -> Result<()> { /// let cl_cstring = CString::new(cl).unwrap(); /// assert_eq!(cl_cstring.to_str().unwrap(), ""); /// ``` -#[derive(Debug)] +#[derive(Clone, Debug)] pub struct Cmdline { line: String, capacity: usize,