File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -187,14 +187,20 @@ where
187187 } )
188188}
189189
190- impl < T : Clone + fmt:: Debug + PartialEq + JsonSchema > From < BankMsg > for CosmosMsg < T > {
190+ impl < T > From < BankMsg > for CosmosMsg < T >
191+ where
192+ T : Clone + fmt:: Debug + PartialEq + JsonSchema ,
193+ {
191194 fn from ( msg : BankMsg ) -> Self {
192195 CosmosMsg :: Bank ( msg)
193196 }
194197}
195198
196199#[ cfg( feature = "staking" ) ]
197- impl < T : Clone + fmt:: Debug + PartialEq + JsonSchema > From < StakingMsg > for CosmosMsg < T > {
200+ impl < T > From < StakingMsg > for CosmosMsg < T >
201+ where
202+ T : Clone + fmt:: Debug + PartialEq + JsonSchema ,
203+ {
198204 fn from ( msg : StakingMsg ) -> Self {
199205 CosmosMsg :: Staking ( msg)
200206 }
@@ -210,14 +216,20 @@ where
210216 }
211217}
212218
213- impl < T : Clone + fmt:: Debug + PartialEq + JsonSchema > From < WasmMsg > for CosmosMsg < T > {
219+ impl < T > From < WasmMsg > for CosmosMsg < T >
220+ where
221+ T : Clone + fmt:: Debug + PartialEq + JsonSchema ,
222+ {
214223 fn from ( msg : WasmMsg ) -> Self {
215224 CosmosMsg :: Wasm ( msg)
216225 }
217226}
218227
219228#[ cfg( feature = "stargate" ) ]
220- impl < T : Clone + fmt:: Debug + PartialEq + JsonSchema > From < IbcMsg > for CosmosMsg < T > {
229+ impl < T > From < IbcMsg > for CosmosMsg < T >
230+ where
231+ T : Clone + fmt:: Debug + PartialEq + JsonSchema ,
232+ {
221233 fn from ( msg : IbcMsg ) -> Self {
222234 CosmosMsg :: Ibc ( msg)
223235 }
You can’t perform that action at this time.
0 commit comments