src/pxar/exclude_pattern.rs: add Clone and Copy trait to MatchType

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
This commit is contained in:
Christian Ebner 2019-08-01 16:23:47 +02:00 committed by Dietmar Maurer
parent 6a584cfd76
commit 51ac99c314
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ extern "C" {
fn fnmatch(pattern: *const c_char, string: *const c_char, flags: c_int) -> c_int;
}
#[derive(Debug, PartialEq)]
#[derive(Debug, PartialEq, Clone, Copy)]
pub enum MatchType {
None,
Exclude,