1
0
mirror of https://github.com/pcvolkmer/osc-variant.git synced 2025-04-19 19:56:50 +00:00

Code cleanup: Entry implements Display trait - remove 'to_string()'

This commit is contained in:
Paul-Christian Volkmer 2023-11-23 10:16:12 +01:00
parent 7021f94891
commit 172a2cc692

View File

@ -134,10 +134,10 @@ impl Requires for DataCatalogue {
.iter()
.map(|entry| match entry {
Requirement::PropertyCatalogue(_) => {
Some(format!(" - {}\n", entry.to_string()))
Some(format!(" - {}\n", entry))
}
Requirement::ExternalPropertyCatalogue(_) => {
Some(format!(" - {}\n", entry.to_string()))
Some(format!(" - {}\n", entry))
}
_ => None,
})