[pve-devel] [PATCH v4 proxmox 01/69] section-config: derive Clone for SectionConfigData

Lukas Wagner l.wagner at proxmox.com
Thu Jul 20 16:31:28 CEST 2023


Signed-off-by: Lukas Wagner <l.wagner at proxmox.com>
---

Notes:
    Changes since v3:
      - New in v4

 proxmox-section-config/src/lib.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxmox-section-config/src/lib.rs b/proxmox-section-config/src/lib.rs
index a86692a8..4441df12 100644
--- a/proxmox-section-config/src/lib.rs
+++ b/proxmox-section-config/src/lib.rs
@@ -101,7 +101,7 @@ enum ParseState<'a> {
 }
 
 /// Interface to manipulate configuration data
-#[derive(Debug)]
+#[derive(Debug, Clone)]
 pub struct SectionConfigData {
     pub sections: HashMap<String, (String, Value)>,
     pub order: Vec<String>,
-- 
2.39.2






More information about the pve-devel mailing list