mirror of
https://github.com/pcvolkmer/osc-variant.git
synced 2025-04-20 20:26:50 +00:00
Combine matches to produce the same string
This commit is contained in:
parent
8edd50feb4
commit
42cbb9ce7e
@ -340,10 +340,10 @@ impl Requires for DataForm {
|
|||||||
Requirement::ExternalDataCatalogue(_) => {
|
Requirement::ExternalDataCatalogue(_) => {
|
||||||
Some(format!(" + {}\n", entry.to_string()))
|
Some(format!(" + {}\n", entry.to_string()))
|
||||||
}
|
}
|
||||||
Requirement::UnterformularReference(_) => {
|
Requirement::DataFormReference(_)
|
||||||
Some(format!(" > {}\n", entry.to_string()))
|
| Requirement::ExternalDataFormReference(_)
|
||||||
}
|
| Requirement::UnterformularReference(_)
|
||||||
Requirement::ExternalUnterformularReference(_) => {
|
| Requirement::ExternalUnterformularReference(_) => {
|
||||||
Some(format!(" > {}\n", entry.to_string()))
|
Some(format!(" > {}\n", entry.to_string()))
|
||||||
}
|
}
|
||||||
_ => None,
|
_ => None,
|
||||||
|
@ -343,10 +343,10 @@ impl Requires for Unterformular {
|
|||||||
Requirement::ExternalDataCatalogue(_) => {
|
Requirement::ExternalDataCatalogue(_) => {
|
||||||
Some(format!(" + {}\n", entry.to_string()))
|
Some(format!(" + {}\n", entry.to_string()))
|
||||||
}
|
}
|
||||||
Requirement::UnterformularReference(_) => {
|
Requirement::DataFormReference(_)
|
||||||
Some(format!(" > {}\n", entry.to_string()))
|
| Requirement::ExternalDataFormReference(_)
|
||||||
}
|
| Requirement::UnterformularReference(_)
|
||||||
Requirement::ExternalUnterformularReference(_) => {
|
| Requirement::ExternalUnterformularReference(_) => {
|
||||||
Some(format!(" > {}\n", entry.to_string()))
|
Some(format!(" > {}\n", entry.to_string()))
|
||||||
}
|
}
|
||||||
_ => None,
|
_ => None,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user