disco: Make xml:lang a proper Option and rename it to lang.
This commit is contained in:
parent
d1a7d222f0
commit
8e1d5e7983
3 changed files with 8 additions and 7 deletions
|
|
@ -88,7 +88,7 @@ fn compute_identities(identities: &[Identity]) -> Vec<u8> {
|
|||
compute_items(identities, 0x1c, |identity| {
|
||||
let mut bytes = compute_item(&identity.category);
|
||||
bytes.append(&mut compute_item(&identity.type_));
|
||||
bytes.append(&mut compute_item(&identity.xml_lang));
|
||||
bytes.append(&mut compute_item(&identity.lang.clone().unwrap_or_default()));
|
||||
bytes.append(&mut compute_item(&identity.name.clone().unwrap_or_default()));
|
||||
bytes.push(0x1e);
|
||||
bytes
|
||||
|
|
|
|||
Loading…
Reference in a new issue