From 8f8badebb394dfcd33a9093d35cf79345d4e2edf Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Wed, 2 Dec 2015 11:30:14 +0100 Subject: [PATCH] Fix: FileHeaderData::Key::name must be a &'static str --- src/storage/file.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/file.rs b/src/storage/file.rs index 800cccbc..d6fa0337 100644 --- a/src/storage/file.rs +++ b/src/storage/file.rs @@ -27,7 +27,7 @@ pub enum FileHeaderData { UInteger(u64), Float(f64), Text(String), - Key { name: String, value: Box }, + Key { name: &'static str, value: Box }, Map { keys: Vec }, Array { values: Box> }, }