mirror of
https://github.com/pcvolkmer/osc-variant.git
synced 2025-07-02 00:42:53 +00:00
Combine matches to produce the same string
This commit is contained in:
@ -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,
|
||||||
|
Reference in New Issue
Block a user