Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
FMT
Browse files Browse the repository at this point in the history
  • Loading branch information
bkchr committed May 16, 2022
1 parent de6422f commit cc2cd13
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frame/support/src/storage/bounded_vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,9 @@ where
}

let visitor: VecVisitor<T, S> = VecVisitor(PhantomData);
deserializer.deserialize_seq(visitor).map(|v| BoundedVec::<T, S>::try_from(v).map_err(|_| Err(Error::custom("out of bounds"))))?
deserializer.deserialize_seq(visitor).map(|v| {
BoundedVec::<T, S>::try_from(v).map_err(|_| Err(Error::custom("out of bounds")))
})?
}
}

Expand Down

0 comments on commit cc2cd13

Please sign in to comment.