]> git.lizzy.rs Git - rust.git/commitdiff
Derive Debug for the Input enum
authorKamal Marhubi <kamal@marhubi.com>
Wed, 25 May 2016 18:41:26 +0000 (20:41 +0200)
committerKamal Marhubi <kamal@marhubi.com>
Mon, 30 May 2016 22:43:48 +0000 (00:43 +0200)
src/lib.rs

index e672efb8feacaa6d1275f7e272c162faaa99f8a0..9b6d69e2f160230a3bfbf10d86e139fb3a09a48c 100644 (file)
@@ -470,6 +470,7 @@ pub fn format_input<T: Write>(input: Input,
     }
 }
 
+#[derive(Debug)]
 pub enum Input {
     File(PathBuf),
     Text(String),