File tree Expand file tree Collapse file tree 4 files changed +5
-20
lines changed
Expand file tree Collapse file tree 4 files changed +5
-20
lines changed Original file line number Diff line number Diff line change @@ -394,10 +394,7 @@ impl Address {
394394 /// custom Ed25519 signature verification as a form of authentication
395395 /// because the master key may not be configured the signer of the account.
396396 #[ cfg( any( test, feature = "hazmat-address" ) ) ]
397- #[ cfg_attr(
398- feature = "docs" ,
399- doc( cfg( any( feature = "hazmat" , feature = "hazmat-address" ) ) )
400- ) ]
397+ #[ cfg_attr( feature = "docs" , doc( cfg( feature = "hazmat-address" ) ) ) ]
401398 pub fn to_payload ( & self ) -> Option < AddressPayload > {
402399 AddressPayload :: from_address ( self )
403400 }
@@ -414,10 +411,7 @@ impl Address {
414411 /// custom Ed25519 signature verification as a form of authentication
415412 /// because the master key may not be configured the signer of the account.
416413 #[ cfg( any( test, feature = "hazmat-address" ) ) ]
417- #[ cfg_attr(
418- feature = "docs" ,
419- doc( cfg( any( feature = "hazmat" , feature = "hazmat-address" ) ) )
420- ) ]
414+ #[ cfg_attr( feature = "docs" , doc( cfg( feature = "hazmat-address" ) ) ) ]
421415 pub fn from_payload ( env : & Env , payload : AddressPayload ) -> Address {
422416 payload. to_address ( env)
423417 }
Original file line number Diff line number Diff line change 11#![ cfg( any( test, feature = "hazmat-address" ) ) ]
2- #![ cfg_attr(
3- feature = "docs" ,
4- doc( cfg( any( feature = "hazmat" , feature = "hazmat-address" ) ) )
5- ) ]
2+ #![ cfg_attr( feature = "docs" , doc( cfg( feature = "hazmat-address" ) ) ) ]
63
74//! Address payload extraction and construction.
85//!
Original file line number Diff line number Diff line change @@ -191,10 +191,7 @@ impl Crypto {
191191/// incorrectly can introduce security vulnerabilities. Please use [Crypto] if
192192/// possible.
193193#[ cfg_attr( any( test, feature = "hazmat-crypto" ) , visibility:: make( pub ) ) ]
194- #[ cfg_attr(
195- feature = "docs" ,
196- doc( cfg( any( feature = "hazmat" , feature = "hazmat-crypto" ) ) )
197- ) ]
194+ #[ cfg_attr( feature = "docs" , doc( cfg( feature = "hazmat-crypto" ) ) ) ]
198195pub ( crate ) struct CryptoHazmat {
199196 env : Env ,
200197}
Original file line number Diff line number Diff line change @@ -334,10 +334,7 @@ impl Env {
334334 /// incorrectly can introduce security vulnerabilities. Use [Crypto] if
335335 /// possible.
336336 #[ cfg_attr( any( test, feature = "hazmat-crypto" ) , visibility:: make( pub ) ) ]
337- #[ cfg_attr(
338- feature = "docs" ,
339- doc( cfg( any( feature = "hazmat" , feature = "hazmat-crypto" ) ) )
340- ) ]
337+ #[ cfg_attr( feature = "docs" , doc( cfg( feature = "hazmat-crypto" ) ) ) ]
341338 #[ inline( always) ]
342339 pub ( crate ) fn crypto_hazmat ( & self ) -> crate :: crypto:: CryptoHazmat {
343340 crate :: crypto:: CryptoHazmat :: new ( self )
You can’t perform that action at this time.
0 commit comments