section-config: expose order

we already expose the raw sections which are sometimes
easier to use, but we don't expose the order at all this way
otherwise

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2022-10-24 13:45:56 +02:00
parent b4a798f0a7
commit c8f26ee0ea

View File

@ -101,7 +101,7 @@ enum ParseState<'a> {
#[derive(Debug)]
pub struct SectionConfigData {
pub sections: HashMap<String, (String, Value)>,
order: Vec<String>,
pub order: Vec<String>,
}
impl Default for SectionConfigData {