diff --git a/framework/base/src/types/managed/multi_value/multi_value_encoded.rs b/framework/base/src/types/managed/multi_value/multi_value_encoded.rs index ca10b9ec6e..e69d741f4a 100644 --- a/framework/base/src/types/managed/multi_value/multi_value_encoded.rs +++ b/framework/base/src/types/managed/multi_value/multi_value_encoded.rs @@ -87,12 +87,11 @@ where T: ManagedVecItem + TopEncode + 'static, { #[inline] - #[rustfmt::skip] fn from(v: ManagedVec) -> Self { try_cast_execute_or_else( v, MultiValueEncoded::from_raw_vec, - MultiValueEncoded::from, + MultiValueEncoded::from_iter, ) } }