Fix: FileHeaderData::Key::name must be a &'static str
This commit is contained in:
parent
2a468059aa
commit
8f8badebb3
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ pub enum FileHeaderData {
|
||||||
UInteger(u64),
|
UInteger(u64),
|
||||||
Float(f64),
|
Float(f64),
|
||||||
Text(String),
|
Text(String),
|
||||||
Key { name: String, value: Box<FileHeaderData> },
|
Key { name: &'static str, value: Box<FileHeaderData> },
|
||||||
Map { keys: Vec<FileHeaderData> },
|
Map { keys: Vec<FileHeaderData> },
|
||||||
Array { values: Box<Vec<FileHeaderData>> },
|
Array { values: Box<Vec<FileHeaderData>> },
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue