difftreelog
style(rmrk-proxy) cargo fmt
in: master
2 files changed
pallets/proxy-rmrk-core/src/lib.rsdiffbeforeafterboth544 vec: &BoundedVec<u8, L>,545 ) -> Result<BoundedVec<u8, S>, DispatchError> 546 where 544 where547 BoundedVec<u8, S>: TryFrom<Vec<u8>> 545 BoundedVec<u8, S>: TryFrom<Vec<u8>>,548 {546 {549 vec.rebind().map_err(|_| <Error<T>>::RmrkPropertyValueIsTooLong.into())547 vec.rebind()548 .map_err(|_| <Error<T>>::RmrkPropertyValueIsTooLong.into())pallets/proxy-rmrk-core/src/misc.rsdiffbeforeafterboth--- a/pallets/proxy-rmrk-core/src/misc.rs
+++ b/pallets/proxy-rmrk-core/src/misc.rs
@@ -37,7 +37,8 @@
BoundedVec<u8, S>: TryFrom<Vec<u8>>,
{
fn rebind(&self) -> Result<BoundedVec<u8, S>, Error> {
- BoundedVec::<u8, S>::try_from(self.clone().into_inner()).map_err(|_| "BoundedVec exceeds its limit".into())
+ BoundedVec::<u8, S>::try_from(self.clone().into_inner())
+ .map_err(|_| "BoundedVec exceeds its limit".into())
}
}