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 fc4197e commit de636c0Copy full SHA for de636c0
1 file changed
crates/stackable-operator/src/v2/builder/pod/container.rs
@@ -190,11 +190,13 @@ impl<'a> From<&'a EnvVarSet> for Vec<&'a EnvVar> {
190
value.into_iter().collect()
191
}
192
193
+
194
impl From<EnvVarSet> for Vec<EnvVar> {
195
fn from(value: EnvVarSet) -> Self {
196
197
198
199
200
impl<'a> IntoIterator for &'a EnvVarSet {
201
type IntoIter = vec::IntoIter<Self::Item>;
202
type Item = &'a EnvVar;
@@ -215,7 +217,7 @@ impl IntoIterator for EnvVarSet {
215
217
type Item = EnvVar;
216
218
219
fn into_iter(self) -> Self::IntoIter {
- Vec::from(self).into_iter()
220
+ (&self).into_iter().cloned().collect::<Vec<_>>().into_iter()
221
222
223
0 commit comments