From 3f0892368bcf475fdae39f24ef51b82b3013535f Mon Sep 17 00:00:00 2001 From: jelemux Date: Thu, 28 Jan 2021 17:41:49 +0100 Subject: try to fix problem with vcard mutable references --- src/viewmodel/utility.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/viewmodel/utility.rs') diff --git a/src/viewmodel/utility.rs b/src/viewmodel/utility.rs index a296c1e..4a82a42 100644 --- a/src/viewmodel/utility.rs +++ b/src/viewmodel/utility.rs @@ -1,3 +1,5 @@ + + #[derive(Clone)] pub struct Download { pub file_name: String, @@ -31,7 +33,7 @@ impl MimeType { } } -#[derive(Clone, Copy)] +#[derive(Clone, Copy, PartialEq)] pub enum DownloadOption { PDF, VCard, -- cgit v1.2.3