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:
parent
7021f94891
commit
172a2cc692
@ -134,10 +134,10 @@ impl Requires for DataCatalogue {
|
|||||||
.iter()
|
.iter()
|
||||||
.map(|entry| match entry {
|
.map(|entry| match entry {
|
||||||
Requirement::PropertyCatalogue(_) => {
|
Requirement::PropertyCatalogue(_) => {
|
||||||
Some(format!(" - {}\n", entry.to_string()))
|
Some(format!(" - {}\n", entry))
|
||||||
}
|
}
|
||||||
Requirement::ExternalPropertyCatalogue(_) => {
|
Requirement::ExternalPropertyCatalogue(_) => {
|
||||||
Some(format!(" - {}\n", entry.to_string()))
|
Some(format!(" - {}\n", entry))
|
||||||
}
|
}
|
||||||
_ => None,
|
_ => None,
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user