We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba32336 commit 7dbf145Copy full SHA for 7dbf145
src/config_types.rs
@@ -99,11 +99,14 @@ pub struct EvConnectorTypes(pub Option<Vec<EvConnectorType>>);
99
100
impl EvConnectorTypes {
101
fn to_string_internal(&self) -> String {
102
- self.0
103
- .iter()
104
- .map(|t| format!("{:?}", t))
105
- .collect::<Vec<String>>()
106
- .join(",")
+ match &self.0 {
+ Some(types) => types
+ .iter()
+ .map(|t| t.to_string())
+ .collect::<Vec<String>>()
107
+ .join(","),
108
+ None => "".to_string(),
109
+ }
110
}
111
112
0 commit comments