Skip to content

Commit

Permalink
stack overflow fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-marinica committed Nov 29, 2024
1 parent 8b40e9e commit 490a31c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,11 @@ where
T: ManagedVecItem + TopEncode + 'static,
{
#[inline]
#[rustfmt::skip]
fn from(v: ManagedVec<M, T>) -> Self {
try_cast_execute_or_else(
v,
MultiValueEncoded::from_raw_vec,
MultiValueEncoded::from,
MultiValueEncoded::from_iter,
)
}
}
Expand Down

0 comments on commit 490a31c

Please sign in to comment.