Skip to content

Commit 9a9f071

Browse files
alexandruagandreeaflorescu
authored andcommitted
cmdline: derive Clone
Signed-off-by: Alexandru Agache <aagch@amazon.com>
1 parent ba6297d commit 9a9f071

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmdline/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ fn valid_element(s: &str) -> Result<()> {
9696
/// let cl_cstring = CString::new(cl).unwrap();
9797
/// assert_eq!(cl_cstring.to_str().unwrap(), "");
9898
/// ```
99-
#[derive(Debug)]
99+
#[derive(Clone, Debug)]
100100
pub struct Cmdline {
101101
line: String,
102102
capacity: usize,

0 commit comments

Comments
 (0)