Merge pull request #96 from sephynox/add-response-models #173
Annotations
132 warnings
the following explicit lifetimes could be elided: 'a:
src/models/currency/mod.rs#L26
warning: the following explicit lifetimes could be elided: 'a
--> src/models/currency/mod.rs:26:6
|
26 | impl<'a> Default for Currency<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
26 - impl<'a> Default for Currency<'a> {
26 + impl Default for Currency<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/currency/mod.rs#L24
warning: the following explicit lifetimes could be elided: 'a
--> src/models/currency/mod.rs:24:6
|
24 | impl<'a> Model for Currency<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
24 - impl<'a> Model for Currency<'a> {}
24 + impl Model for Currency<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/currency/xrp.rs#L20
warning: the following explicit lifetimes could be elided: 'a
--> src/models/currency/xrp.rs:20:6
|
20 | impl<'a> XRP<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
20 - impl<'a> XRP<'a> {
20 + impl XRP<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/currency/xrp.rs#L12
warning: the following explicit lifetimes could be elided: 'a
--> src/models/currency/xrp.rs:12:6
|
12 | impl<'a> Model for XRP<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
12 - impl<'a> Model for XRP<'a> {}
12 + impl Model for XRP<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/currency/issued_currency.rs#L13
warning: the following explicit lifetimes could be elided: 'a
--> src/models/currency/issued_currency.rs:13:6
|
13 | impl<'a> Model for IssuedCurrency<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
13 - impl<'a> Model for IssuedCurrency<'a> {}
13 + impl Model for IssuedCurrency<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/amount/mod.rs#L41
warning: the following explicit lifetimes could be elided: 'a
--> src/models/amount/mod.rs:41:6
|
41 | impl<'a> Amount<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
41 - impl<'a> Amount<'a> {
41 + impl Amount<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/amount/mod.rs#L35
warning: the following explicit lifetimes could be elided: 'a
--> src/models/amount/mod.rs:35:6
|
35 | impl<'a> Default for Amount<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
35 - impl<'a> Default for Amount<'a> {
35 + impl Default for Amount<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/amount/mod.rs#L33
warning: the following explicit lifetimes could be elided: 'a
--> src/models/amount/mod.rs:33:6
|
33 | impl<'a> Model for Amount<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
33 - impl<'a> Model for Amount<'a> {}
33 + impl Model for Amount<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/amount/mod.rs#L22
warning: the following explicit lifetimes could be elided: 'a
--> src/models/amount/mod.rs:22:6
|
22 | impl<'a> TryInto<BigDecimal> for Amount<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
22 - impl<'a> TryInto<BigDecimal> for Amount<'a> {
22 + impl TryInto<BigDecimal> for Amount<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/amount/xrp_amount.rs#L132
warning: the following explicit lifetimes could be elided: 'a
--> src/models/amount/xrp_amount.rs:132:6
|
132 | impl<'a> Ord for XRPAmount<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
132 - impl<'a> Ord for XRPAmount<'a> {
132 + impl Ord for XRPAmount<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/amount/xrp_amount.rs#L126
warning: the following explicit lifetimes could be elided: 'a
--> src/models/amount/xrp_amount.rs:126:6
|
126 | impl<'a> PartialOrd for XRPAmount<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
126 - impl<'a> PartialOrd for XRPAmount<'a> {
126 + impl PartialOrd for XRPAmount<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/amount/xrp_amount.rs#L110
warning: the following explicit lifetimes could be elided: 'a
--> src/models/amount/xrp_amount.rs:110:6
|
110 | impl<'a> TryInto<BigDecimal> for XRPAmount<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
110 - impl<'a> TryInto<BigDecimal> for XRPAmount<'a> {
110 + impl TryInto<BigDecimal> for XRPAmount<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/amount/xrp_amount.rs#L102
warning: the following explicit lifetimes could be elided: 'a
--> src/models/amount/xrp_amount.rs:102:6
|
102 | impl<'a> TryInto<u32> for XRPAmount<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
102 - impl<'a> TryInto<u32> for XRPAmount<'a> {
102 + impl TryInto<u32> for XRPAmount<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/amount/xrp_amount.rs#L94
warning: the following explicit lifetimes could be elided: 'a
--> src/models/amount/xrp_amount.rs:94:6
|
94 | impl<'a> TryInto<f64> for XRPAmount<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
94 - impl<'a> TryInto<f64> for XRPAmount<'a> {
94 + impl TryInto<f64> for XRPAmount<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/amount/xrp_amount.rs#L80
warning: the following explicit lifetimes could be elided: 'a
--> src/models/amount/xrp_amount.rs:80:6
|
80 | impl<'a> TryFrom<Value> for XRPAmount<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
80 - impl<'a> TryFrom<Value> for XRPAmount<'a> {
80 + impl TryFrom<Value> for XRPAmount<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/amount/xrp_amount.rs#L74
warning: the following explicit lifetimes could be elided: 'a
--> src/models/amount/xrp_amount.rs:74:6
|
74 | impl<'a> From<u32> for XRPAmount<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
74 - impl<'a> From<u32> for XRPAmount<'a> {
74 + impl From<u32> for XRPAmount<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/amount/xrp_amount.rs#L68
warning: the following explicit lifetimes could be elided: 'a
--> src/models/amount/xrp_amount.rs:68:6
|
68 | impl<'a> From<f64> for XRPAmount<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
68 - impl<'a> From<f64> for XRPAmount<'a> {
68 + impl From<f64> for XRPAmount<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/amount/xrp_amount.rs#L62
warning: the following explicit lifetimes could be elided: 'a
--> src/models/amount/xrp_amount.rs:62:6
|
62 | impl<'a> From<BigDecimal> for XRPAmount<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
62 - impl<'a> From<BigDecimal> for XRPAmount<'a> {
62 + impl From<BigDecimal> for XRPAmount<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/amount/xrp_amount.rs#L56
warning: the following explicit lifetimes could be elided: 'a
--> src/models/amount/xrp_amount.rs:56:6
|
56 | impl<'a> From<String> for XRPAmount<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
56 - impl<'a> From<String> for XRPAmount<'a> {
56 + impl From<String> for XRPAmount<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/amount/xrp_amount.rs#L19
warning: the following explicit lifetimes could be elided: 'a
--> src/models/amount/xrp_amount.rs:19:6
|
19 | impl<'a> Model for XRPAmount<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
19 - impl<'a> Model for XRPAmount<'a> {}
19 + impl Model for XRPAmount<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/amount/issued_currency_amount.rs#L41
warning: the following explicit lifetimes could be elided: 'a
--> src/models/amount/issued_currency_amount.rs:41:6
|
41 | impl<'a> Ord for IssuedCurrencyAmount<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
41 - impl<'a> Ord for IssuedCurrencyAmount<'a> {
41 + impl Ord for IssuedCurrencyAmount<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/amount/issued_currency_amount.rs#L35
warning: the following explicit lifetimes could be elided: 'a
--> src/models/amount/issued_currency_amount.rs:35:6
|
35 | impl<'a> PartialOrd for IssuedCurrencyAmount<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
35 - impl<'a> PartialOrd for IssuedCurrencyAmount<'a> {
35 + impl PartialOrd for IssuedCurrencyAmount<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/amount/issued_currency_amount.rs#L27
warning: the following explicit lifetimes could be elided: 'a
--> src/models/amount/issued_currency_amount.rs:27:6
|
27 | impl<'a> TryInto<BigDecimal> for IssuedCurrencyAmount<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
27 - impl<'a> TryInto<BigDecimal> for IssuedCurrencyAmount<'a> {
27 + impl TryInto<BigDecimal> for IssuedCurrencyAmount<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/amount/issued_currency_amount.rs#L15
warning: the following explicit lifetimes could be elided: 'a
--> src/models/amount/issued_currency_amount.rs:15:6
|
15 | impl<'a> Model for IssuedCurrencyAmount<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
15 - impl<'a> Model for IssuedCurrencyAmount<'a> {}
15 + impl Model for IssuedCurrencyAmount<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/transactions/trust_set.rs#L73
warning: the following explicit lifetimes could be elided: 'a
--> src/models/transactions/trust_set.rs:73:6
|
73 | impl<'a> Model for TrustSet<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
73 - impl<'a> Model for TrustSet<'a> {}
73 + impl Model for TrustSet<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/transactions/ticket_create.rs#L42
warning: the following explicit lifetimes could be elided: 'a
--> src/models/transactions/ticket_create.rs:42:6
|
42 | impl<'a> Model for TicketCreate<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
42 - impl<'a> Model for TicketCreate<'a> {}
42 + impl Model for TicketCreate<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/transactions/signer_list_set.rs#L90
warning: the following explicit lifetimes could be elided: 'a
--> src/models/transactions/signer_list_set.rs:90:6
|
90 | impl<'a> SignerListSetError for SignerListSet<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
90 - impl<'a> SignerListSetError for SignerListSet<'a> {
90 + impl SignerListSetError for SignerListSet<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/transactions/signer_list_set.rs#L67
warning: the following explicit lifetimes could be elided: 'a
--> src/models/transactions/signer_list_set.rs:67:6
|
67 | impl<'a> Model for SignerListSet<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
67 - impl<'a> Model for SignerListSet<'a> {
67 + impl Model for SignerListSet<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/transactions/set_regular_key.rs#L48
warning: the following explicit lifetimes could be elided: 'a
--> src/models/transactions/set_regular_key.rs:48:6
|
48 | impl<'a> Model for SetRegularKey<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
48 - impl<'a> Model for SetRegularKey<'a> {}
48 + impl Model for SetRegularKey<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/transactions/pseudo_transactions/unl_modify.rs#L51
warning: the following explicit lifetimes could be elided: 'a
--> src/models/transactions/pseudo_transactions/unl_modify.rs:51:6
|
51 | impl<'a> Model for UNLModify<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
51 - impl<'a> Model for UNLModify<'a> {}
51 + impl Model for UNLModify<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/transactions/pseudo_transactions/set_fee.rs#L42
warning: the following explicit lifetimes could be elided: 'a
--> src/models/transactions/pseudo_transactions/set_fee.rs:42:6
|
42 | impl<'a> Model for SetFee<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
42 - impl<'a> Model for SetFee<'a> {}
42 + impl Model for SetFee<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/transactions/pseudo_transactions/enable_amendment.rs#L53
warning: the following explicit lifetimes could be elided: 'a
--> src/models/transactions/pseudo_transactions/enable_amendment.rs:53:6
|
53 | impl<'a> Model for EnableAmendment<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
53 - impl<'a> Model for EnableAmendment<'a> {}
53 + impl Model for EnableAmendment<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/transactions/payment_channel_fund.rs#L53
warning: the following explicit lifetimes could be elided: 'a
--> src/models/transactions/payment_channel_fund.rs:53:6
|
53 | impl<'a> Model for PaymentChannelFund<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
53 - impl<'a> Model for PaymentChannelFund<'a> {}
53 + impl Model for PaymentChannelFund<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/transactions/payment_channel_create.rs#L61
warning: the following explicit lifetimes could be elided: 'a
--> src/models/transactions/payment_channel_create.rs:61:6
|
61 | impl<'a> Model for PaymentChannelCreate<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
61 - impl<'a> Model for PaymentChannelCreate<'a> {}
61 + impl Model for PaymentChannelCreate<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/transactions/payment_channel_claim.rs#L91
warning: the following explicit lifetimes could be elided: 'a
--> src/models/transactions/payment_channel_claim.rs:91:6
|
91 | impl<'a> Model for PaymentChannelClaim<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
91 - impl<'a> Model for PaymentChannelClaim<'a> {}
91 + impl Model for PaymentChannelClaim<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/transactions/payment.rs#L118
warning: the following explicit lifetimes could be elided: 'a
--> src/models/transactions/payment.rs:118:6
|
118 | impl<'a> PaymentError for Payment<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
118 - impl<'a> PaymentError for Payment<'a> {
118 + impl PaymentError for Payment<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/transactions/offer_create.rs#L82
warning: the following explicit lifetimes could be elided: 'a
--> src/models/transactions/offer_create.rs:82:6
|
82 | impl<'a> Model for OfferCreate<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
82 - impl<'a> Model for OfferCreate<'a> {}
82 + impl Model for OfferCreate<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/transactions/offer_cancel.rs#L44
warning: the following explicit lifetimes could be elided: 'a
--> src/models/transactions/offer_cancel.rs:44:6
|
44 | impl<'a> Model for OfferCancel<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
44 - impl<'a> Model for OfferCancel<'a> {}
44 + impl Model for OfferCancel<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/transactions/nftoken_mint.rs#L118
warning: the following explicit lifetimes could be elided: 'a
--> src/models/transactions/nftoken_mint.rs:118:6
|
118 | impl<'a> NFTokenMintError for NFTokenMint<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
118 - impl<'a> NFTokenMintError for NFTokenMint<'a> {
118 + impl NFTokenMintError for NFTokenMint<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/transactions/nftoken_mint.rs#L90
warning: the following explicit lifetimes could be elided: 'a
--> src/models/transactions/nftoken_mint.rs:90:6
|
90 | impl<'a> Model for NFTokenMint<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
90 - impl<'a> Model for NFTokenMint<'a> {
90 + impl Model for NFTokenMint<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/transactions/nftoken_create_offer.rs#L109
warning: the following explicit lifetimes could be elided: 'a
--> src/models/transactions/nftoken_create_offer.rs:109:6
|
109 | impl<'a> NFTokenCreateOfferError for NFTokenCreateOffer<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
109 - impl<'a> NFTokenCreateOfferError for NFTokenCreateOffer<'a> {
109 + impl NFTokenCreateOfferError for NFTokenCreateOffer<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/transactions/nftoken_cancel_offer.rs#L70
warning: the following explicit lifetimes could be elided: 'a
--> src/models/transactions/nftoken_cancel_offer.rs:70:6
|
70 | impl<'a> NFTokenCancelOfferError for NFTokenCancelOffer<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
70 - impl<'a> NFTokenCancelOfferError for NFTokenCancelOffer<'a> {
70 + impl NFTokenCancelOfferError for NFTokenCancelOffer<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/transactions/nftoken_burn.rs#L49
warning: the following explicit lifetimes could be elided: 'a
--> src/models/transactions/nftoken_burn.rs:49:6
|
49 | impl<'a> Model for NFTokenBurn<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
49 - impl<'a> Model for NFTokenBurn<'a> {}
49 + impl Model for NFTokenBurn<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/transactions/nftoken_accept_offer.rs#L80
warning: the following explicit lifetimes could be elided: 'a
--> src/models/transactions/nftoken_accept_offer.rs:80:6
|
80 | impl<'a> NFTokenAcceptOfferError for NFTokenAcceptOffer<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
80 - impl<'a> NFTokenAcceptOfferError for NFTokenAcceptOffer<'a> {
80 + impl NFTokenAcceptOfferError for NFTokenAcceptOffer<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/transactions/escrow_finish.rs#L69
warning: the following explicit lifetimes could be elided: 'a
--> src/models/transactions/escrow_finish.rs:69:6
|
69 | impl<'a> EscrowFinishError for EscrowFinish<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
69 - impl<'a> EscrowFinishError for EscrowFinish<'a> {
69 + impl EscrowFinishError for EscrowFinish<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/transactions/escrow_create.rs#L79
warning: the following explicit lifetimes could be elided: 'a
--> src/models/transactions/escrow_create.rs:79:6
|
79 | impl<'a> EscrowCreateError for EscrowCreate<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
79 - impl<'a> EscrowCreateError for EscrowCreate<'a> {
79 + impl EscrowCreateError for EscrowCreate<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/transactions/escrow_cancel.rs#L41
warning: the following explicit lifetimes could be elided: 'a
--> src/models/transactions/escrow_cancel.rs:41:6
|
41 | impl<'a> Model for EscrowCancel<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
41 - impl<'a> Model for EscrowCancel<'a> {}
41 + impl Model for EscrowCancel<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/transactions/deposit_preauth.rs#L61
warning: the following explicit lifetimes could be elided: 'a
--> src/models/transactions/deposit_preauth.rs:61:6
|
61 | impl<'a> DepositPreauthError for DepositPreauth<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
61 - impl<'a> DepositPreauthError for DepositPreauth<'a> {
61 + impl DepositPreauthError for DepositPreauth<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/transactions/check_create.rs#L53
warning: the following explicit lifetimes could be elided: 'a
--> src/models/transactions/check_create.rs:53:6
|
53 | impl<'a> Model for CheckCreate<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
53 - impl<'a> Model for CheckCreate<'a> {}
53 + impl Model for CheckCreate<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/transactions/check_cash.rs#L70
warning: the following explicit lifetimes could be elided: 'a
--> src/models/transactions/check_cash.rs:70:6
|
70 | impl<'a> CheckCashError for CheckCash<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
70 - impl<'a> CheckCashError for CheckCash<'a> {
70 + impl CheckCashError for CheckCash<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/transactions/check_cancel.rs#L42
warning: the following explicit lifetimes could be elided: 'a
--> src/models/transactions/check_cancel.rs:42:6
|
42 | impl<'a> Model for CheckCancel<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
42 - impl<'a> Model for CheckCancel<'a> {}
42 + impl Model for CheckCancel<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/transactions/account_set.rs#L153
warning: the following explicit lifetimes could be elided: 'a
--> src/models/transactions/account_set.rs:153:6
|
153 | impl<'a> AccountSetError for AccountSet<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
153 - impl<'a> AccountSetError for AccountSet<'a> {
153 + impl AccountSetError for AccountSet<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/transactions/account_set.rs#L123
warning: the following explicit lifetimes could be elided: 'a
--> src/models/transactions/account_set.rs:123:6
|
123 | impl<'a> Model for AccountSet<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
123 - impl<'a> Model for AccountSet<'a> {
123 + impl Model for AccountSet<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/transactions/account_delete.rs#L47
warning: the following explicit lifetimes could be elided: 'a
--> src/models/transactions/account_delete.rs:47:6
|
47 | impl<'a> Model for AccountDelete<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
47 - impl<'a> Model for AccountDelete<'a> {}
47 + impl Model for AccountDelete<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/results/mod.rs#L374
warning: the following explicit lifetimes could be elided: 'a
--> src/models/results/mod.rs:374:6
|
374 | impl<'a> XRPLResponse<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
374 - impl<'a> XRPLResponse<'a> {
374 + impl XRPLResponse<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/results/mod.rs#L225
warning: the following explicit lifetimes could be elided: 'a
--> src/models/results/mod.rs:225:6
|
225 | impl<'a> TryInto<Value> for XRPLResult<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
225 - impl<'a> TryInto<Value> for XRPLResult<'a> {
225 + impl TryInto<Value> for XRPLResult<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/results/mod.rs#L189
warning: the following explicit lifetimes could be elided: 'a
--> src/models/results/mod.rs:189:6
|
189 | impl<'a> From<XRPLOtherResult> for XRPLResult<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
189 - impl<'a> From<XRPLOtherResult> for XRPLResult<'a> {
189 + impl From<XRPLOtherResult> for XRPLResult<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/results/mod.rs#L183
warning: the following explicit lifetimes could be elided: 'a
--> src/models/results/mod.rs:183:6
|
183 | impl<'a> From<Value> for XRPLResult<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
183 - impl<'a> From<Value> for XRPLResult<'a> {
183 + impl From<Value> for XRPLResult<'_> {
|
|
large size difference between variants:
src/models/results/mod.rs#L88
warning: large size difference between variants
--> src/models/results/mod.rs:88:1
|
88 | / pub enum XRPLResult<'a> {
89 | | AccountInfo(account_info::AccountInfoVersionMap<'a>),
| | ---------------------------------------------------- the largest variant contains at least 504 bytes
90 | | AccountTx(account_tx::AccountTxVersionMap<'a>),
91 | | Fee(fee::Fee<'a>),
| | ----------------- the second-largest variant contains at least 296 bytes
... |
102 | | Other(XRPLOtherResult),
103 | | }
| |_^ the entire enum is at least 0 bytes
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant
= note: `#[warn(clippy::large_enum_variant)]` on by default
help: consider boxing the large fields to reduce the total size of the enum
|
89 | AccountInfo(Box<account_info::AccountInfoVersionMap<'a>>),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
the following explicit lifetimes could be elided: 'a:
src/models/requests/unsubscribe.rs#L63
warning: the following explicit lifetimes could be elided: 'a
--> src/models/requests/unsubscribe.rs:63:6
|
63 | impl<'a> Model for Unsubscribe<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
63 - impl<'a> Model for Unsubscribe<'a> {}
63 + impl Model for Unsubscribe<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/requests/tx.rs#L37
warning: the following explicit lifetimes could be elided: 'a
--> src/models/requests/tx.rs:37:6
|
37 | impl<'a> Model for Tx<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
37 - impl<'a> Model for Tx<'a> {}
37 + impl Model for Tx<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/requests/transaction_entry.rs#L30
warning: the following explicit lifetimes could be elided: 'a
--> src/models/requests/transaction_entry.rs:30:6
|
30 | impl<'a> Model for TransactionEntry<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
30 - impl<'a> Model for TransactionEntry<'a> {}
30 + impl Model for TransactionEntry<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/requests/subscribe.rs#L78
warning: the following explicit lifetimes could be elided: 'a
--> src/models/requests/subscribe.rs:78:6
|
78 | impl<'a> Model for Subscribe<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
78 - impl<'a> Model for Subscribe<'a> {}
78 + impl Model for Subscribe<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/requests/submit_multisigned.rs#L31
warning: the following explicit lifetimes could be elided: 'a
--> src/models/requests/submit_multisigned.rs:31:6
|
31 | impl<'a> Model for SubmitMultisigned<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
31 - impl<'a> Model for SubmitMultisigned<'a> {}
31 + impl Model for SubmitMultisigned<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/requests/submit.rs#L50
warning: the following explicit lifetimes could be elided: 'a
--> src/models/requests/submit.rs:50:6
|
50 | impl<'a> Model for Submit<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
50 - impl<'a> Model for Submit<'a> {}
50 + impl Model for Submit<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/requests/server_state.rs#L28
warning: the following explicit lifetimes could be elided: 'a
--> src/models/requests/server_state.rs:28:6
|
28 | impl<'a> Model for ServerState<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
28 - impl<'a> Model for ServerState<'a> {}
28 + impl Model for ServerState<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/requests/server_info.rs#L23
warning: the following explicit lifetimes could be elided: 'a
--> src/models/requests/server_info.rs:23:6
|
23 | impl<'a> Model for ServerInfo<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
23 - impl<'a> Model for ServerInfo<'a> {}
23 + impl Model for ServerInfo<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/requests/ripple_path_find.rs#L61
warning: the following explicit lifetimes could be elided: 'a
--> src/models/requests/ripple_path_find.rs:61:6
|
61 | impl<'a> Model for RipplePathFind<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
61 - impl<'a> Model for RipplePathFind<'a> {}
61 + impl Model for RipplePathFind<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/requests/random.rs#L23
warning: the following explicit lifetimes could be elided: 'a
--> src/models/requests/random.rs:23:6
|
23 | impl<'a> Model for Random<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
23 - impl<'a> Model for Random<'a> {}
23 + impl Model for Random<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/requests/ping.rs#L22
warning: the following explicit lifetimes could be elided: 'a
--> src/models/requests/ping.rs:22:6
|
22 | impl<'a> Model for Ping<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
22 - impl<'a> Model for Ping<'a> {}
22 + impl Model for Ping<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/requests/path_find.rs#L91
warning: the following explicit lifetimes could be elided: 'a
--> src/models/requests/path_find.rs:91:6
|
91 | impl<'a> Model for PathFind<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
91 - impl<'a> Model for PathFind<'a> {}
91 + impl Model for PathFind<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/requests/no_ripple_check.rs#L57
warning: the following explicit lifetimes could be elided: 'a
--> src/models/requests/no_ripple_check.rs:57:6
|
57 | impl<'a> Model for NoRippleCheck<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
57 - impl<'a> Model for NoRippleCheck<'a> {}
57 + impl Model for NoRippleCheck<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/requests/nft_sell_offers.rs#L20
warning: the following explicit lifetimes could be elided: 'a
--> src/models/requests/nft_sell_offers.rs:20:6
|
20 | impl<'a> Model for NftSellOffers<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
20 - impl<'a> Model for NftSellOffers<'a> {}
20 + impl Model for NftSellOffers<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/requests/nft_buy_offers.rs#L30
warning: the following explicit lifetimes could be elided: 'a
--> src/models/requests/nft_buy_offers.rs:30:6
|
30 | impl<'a> Model for NftBuyOffers<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
30 - impl<'a> Model for NftBuyOffers<'a> {}
30 + impl Model for NftBuyOffers<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/requests/manifest.rs#L28
warning: the following explicit lifetimes could be elided: 'a
--> src/models/requests/manifest.rs:28:6
|
28 | impl<'a> Model for Manifest<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
28 - impl<'a> Model for Manifest<'a> {}
28 + impl Model for Manifest<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/requests/ledger_entry.rs#L100
warning: the following explicit lifetimes could be elided: 'a
--> src/models/requests/ledger_entry.rs:100:6
|
100 | impl<'a> LedgerEntryError for LedgerEntry<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
100 - impl<'a> LedgerEntryError for LedgerEntry<'a> {
100 + impl LedgerEntryError for LedgerEntry<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/requests/ledger_data.rs#L35
warning: the following explicit lifetimes could be elided: 'a
--> src/models/requests/ledger_data.rs:35:6
|
35 | impl<'a> Model for LedgerData<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
35 - impl<'a> Model for LedgerData<'a> {}
35 + impl Model for LedgerData<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/requests/ledger_current.rs#L23
warning: the following explicit lifetimes could be elided: 'a
--> src/models/requests/ledger_current.rs:23:6
|
23 | impl<'a> Model for LedgerCurrent<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
23 - impl<'a> Model for LedgerCurrent<'a> {}
23 + impl Model for LedgerCurrent<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/requests/ledger_closed.rs#L23
warning: the following explicit lifetimes could be elided: 'a
--> src/models/requests/ledger_closed.rs:23:6
|
23 | impl<'a> Model for LedgerClosed<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
23 - impl<'a> Model for LedgerClosed<'a> {}
23 + impl Model for LedgerClosed<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/requests/ledger.rs#L59
warning: the following explicit lifetimes could be elided: 'a
--> src/models/requests/ledger.rs:59:6
|
59 | impl<'a> Model for Ledger<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
59 - impl<'a> Model for Ledger<'a> {}
59 + impl Model for Ledger<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/requests/gateway_balances.rs#L35
warning: the following explicit lifetimes could be elided: 'a
--> src/models/requests/gateway_balances.rs:35:6
|
35 | impl<'a> Model for GatewayBalances<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
35 - impl<'a> Model for GatewayBalances<'a> {}
35 + impl Model for GatewayBalances<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/requests/fee.rs#L24
warning: the following explicit lifetimes could be elided: 'a
--> src/models/requests/fee.rs:24:6
|
24 | impl<'a> Model for Fee<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
24 - impl<'a> Model for Fee<'a> {}
24 + impl Model for Fee<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/requests/deposit_authorize.rs#L29
warning: the following explicit lifetimes could be elided: 'a
--> src/models/requests/deposit_authorize.rs:29:6
|
29 | impl<'a> Model for DepositAuthorized<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
29 - impl<'a> Model for DepositAuthorized<'a> {}
29 + impl Model for DepositAuthorized<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/requests/channel_verify.rs#L31
warning: the following explicit lifetimes could be elided: 'a
--> src/models/requests/channel_verify.rs:31:6
|
31 | impl<'a> Model for ChannelVerify<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
31 - impl<'a> Model for ChannelVerify<'a> {}
31 + impl Model for ChannelVerify<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/requests/channel_authorize.rs#L88
warning: the following explicit lifetimes could be elided: 'a
--> src/models/requests/channel_authorize.rs:88:6
|
88 | impl<'a> ChannelAuthorizeError for ChannelAuthorize<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
88 - impl<'a> ChannelAuthorizeError for ChannelAuthorize<'a> {
88 + impl ChannelAuthorizeError for ChannelAuthorize<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/requests/channel_authorize.rs#L72
warning: the following explicit lifetimes could be elided: 'a
--> src/models/requests/channel_authorize.rs:72:6
|
72 | impl<'a> Model for ChannelAuthorize<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
72 - impl<'a> Model for ChannelAuthorize<'a> {
72 + impl Model for ChannelAuthorize<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/requests/book_offers.rs#L45
warning: the following explicit lifetimes could be elided: 'a
--> src/models/requests/book_offers.rs:45:6
|
45 | impl<'a> Model for BookOffers<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
45 - impl<'a> Model for BookOffers<'a> {}
45 + impl Model for BookOffers<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/requests/account_tx.rs#L53
warning: the following explicit lifetimes could be elided: 'a
--> src/models/requests/account_tx.rs:53:6
|
53 | impl<'a> Model for AccountTx<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
53 - impl<'a> Model for AccountTx<'a> {}
53 + impl Model for AccountTx<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/requests/account_offers.rs#L39
warning: the following explicit lifetimes could be elided: 'a
--> src/models/requests/account_offers.rs:39:6
|
39 | impl<'a> Model for AccountOffers<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
39 - impl<'a> Model for AccountOffers<'a> {}
39 + impl Model for AccountOffers<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/requests/account_objects.rs#L62
warning: the following explicit lifetimes could be elided: 'a
--> src/models/requests/account_objects.rs:62:6
|
62 | impl<'a> Model for AccountObjects<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
62 - impl<'a> Model for AccountObjects<'a> {}
62 + impl Model for AccountObjects<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/requests/account_nfts.rs#L30
warning: the following explicit lifetimes could be elided: 'a
--> src/models/requests/account_nfts.rs:30:6
|
30 | impl<'a> Model for AccountNfts<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
30 - impl<'a> Model for AccountNfts<'a> {}
30 + impl Model for AccountNfts<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/requests/account_lines.rs#L37
warning: the following explicit lifetimes could be elided: 'a
--> src/models/requests/account_lines.rs:37:6
|
37 | impl<'a> Model for AccountLines<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
37 - impl<'a> Model for AccountLines<'a> {}
37 + impl Model for AccountLines<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/requests/account_info.rs#L43
warning: the following explicit lifetimes could be elided: 'a
--> src/models/requests/account_info.rs:43:6
|
43 | impl<'a> Model for AccountInfo<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
43 - impl<'a> Model for AccountInfo<'a> {}
43 + impl Model for AccountInfo<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/requests/account_currencies.rs#L36
warning: the following explicit lifetimes could be elided: 'a
--> src/models/requests/account_currencies.rs:36:6
|
36 | impl<'a> Model for AccountCurrencies<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
36 - impl<'a> Model for AccountCurrencies<'a> {}
36 + impl Model for AccountCurrencies<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/requests/account_channels.rs#L60
warning: the following explicit lifetimes could be elided: 'a
--> src/models/requests/account_channels.rs:60:6
|
60 | impl<'a> Model for AccountChannels<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
60 - impl<'a> Model for AccountChannels<'a> {}
60 + impl Model for AccountChannels<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/ledger/objects/mod.rs#L138
warning: the following explicit lifetimes could be elided: 'a
--> src/models/ledger/objects/mod.rs:138:6
|
138 | impl<'a, T> LedgerObject<T> for CommonFields<'a, T>
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
138 - impl<'a, T> LedgerObject<T> for CommonFields<'a, T>
138 + impl<T> LedgerObject<T> for CommonFields<'_, T>
|
|
the following explicit lifetimes could be elided: 'a:
src/models/ledger/objects/ticket.rs#L45
warning: the following explicit lifetimes could be elided: 'a
--> src/models/ledger/objects/ticket.rs:45:6
|
45 | impl<'a> LedgerObject<NoFlags> for Ticket<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
45 - impl<'a> LedgerObject<NoFlags> for Ticket<'a> {
45 + impl LedgerObject<NoFlags> for Ticket<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/ledger/objects/ticket.rs#L43
warning: the following explicit lifetimes could be elided: 'a
--> src/models/ledger/objects/ticket.rs:43:6
|
43 | impl<'a> Model for Ticket<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
43 - impl<'a> Model for Ticket<'a> {}
43 + impl Model for Ticket<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/ledger/objects/signer_list.rs#L83
warning: the following explicit lifetimes could be elided: 'a
--> src/models/ledger/objects/signer_list.rs:83:6
|
83 | impl<'a> LedgerObject<SignerListFlag> for SignerList<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
83 - impl<'a> LedgerObject<SignerListFlag> for SignerList<'a> {
83 + impl LedgerObject<SignerListFlag> for SignerList<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/ledger/objects/signer_list.rs#L81
warning: the following explicit lifetimes could be elided: 'a
--> src/models/ledger/objects/signer_list.rs:81:6
|
81 | impl<'a> Model for SignerList<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
81 - impl<'a> Model for SignerList<'a> {}
81 + impl Model for SignerList<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/ledger/objects/ripple_state.rs#L94
warning: the following explicit lifetimes could be elided: 'a
--> src/models/ledger/objects/ripple_state.rs:94:6
|
94 | impl<'a> LedgerObject<RippleStateFlag> for RippleState<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
94 - impl<'a> LedgerObject<RippleStateFlag> for RippleState<'a> {
94 + impl LedgerObject<RippleStateFlag> for RippleState<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/ledger/objects/ripple_state.rs#L92
warning: the following explicit lifetimes could be elided: 'a
--> src/models/ledger/objects/ripple_state.rs:92:6
|
92 | impl<'a> Model for RippleState<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
92 - impl<'a> Model for RippleState<'a> {}
92 + impl Model for RippleState<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/ledger/objects/pay_channel.rs#L75
warning: the following explicit lifetimes could be elided: 'a
--> src/models/ledger/objects/pay_channel.rs:75:6
|
75 | impl<'a> LedgerObject<NoFlags> for PayChannel<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
75 - impl<'a> LedgerObject<NoFlags> for PayChannel<'a> {
75 + impl LedgerObject<NoFlags> for PayChannel<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/ledger/objects/pay_channel.rs#L73
warning: the following explicit lifetimes could be elided: 'a
--> src/models/ledger/objects/pay_channel.rs:73:6
|
73 | impl<'a> Model for PayChannel<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
73 - impl<'a> Model for PayChannel<'a> {}
73 + impl Model for PayChannel<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/ledger/objects/offer.rs#L74
warning: the following explicit lifetimes could be elided: 'a
--> src/models/ledger/objects/offer.rs:74:6
|
74 | impl<'a> LedgerObject<OfferFlag> for Offer<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
74 - impl<'a> LedgerObject<OfferFlag> for Offer<'a> {
74 + impl LedgerObject<OfferFlag> for Offer<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/ledger/objects/offer.rs#L72
warning: the following explicit lifetimes could be elided: 'a
--> src/models/ledger/objects/offer.rs:72:6
|
72 | impl<'a> Model for Offer<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
72 - impl<'a> Model for Offer<'a> {}
72 + impl Model for Offer<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/ledger/objects/nftoken_page.rs#L61
warning: the following explicit lifetimes could be elided: 'a
--> src/models/ledger/objects/nftoken_page.rs:61:6
|
61 | impl<'a> LedgerObject<NoFlags> for NFTokenPage<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
61 - impl<'a> LedgerObject<NoFlags> for NFTokenPage<'a> {
61 + impl LedgerObject<NoFlags> for NFTokenPage<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/ledger/objects/nftoken_page.rs#L59
warning: the following explicit lifetimes could be elided: 'a
--> src/models/ledger/objects/nftoken_page.rs:59:6
|
59 | impl<'a> Model for NFTokenPage<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
59 - impl<'a> Model for NFTokenPage<'a> {}
59 + impl Model for NFTokenPage<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/ledger/objects/nftoken_offer.rs#L76
warning: the following explicit lifetimes could be elided: 'a
--> src/models/ledger/objects/nftoken_offer.rs:76:6
|
76 | impl<'a> LedgerObject<NFTokenOfferFlag> for NFTokenOffer<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
76 - impl<'a> LedgerObject<NFTokenOfferFlag> for NFTokenOffer<'a> {
76 + impl LedgerObject<NFTokenOfferFlag> for NFTokenOffer<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/ledger/objects/nftoken_offer.rs#L74
warning: the following explicit lifetimes could be elided: 'a
--> src/models/ledger/objects/nftoken_offer.rs:74:6
|
74 | impl<'a> Model for NFTokenOffer<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
74 - impl<'a> Model for NFTokenOffer<'a> {}
74 + impl Model for NFTokenOffer<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/ledger/objects/negative_unl.rs#L57
warning: the following explicit lifetimes could be elided: 'a
--> src/models/ledger/objects/negative_unl.rs:57:6
|
57 | impl<'a> LedgerObject<NoFlags> for NegativeUNL<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
57 - impl<'a> LedgerObject<NoFlags> for NegativeUNL<'a> {
57 + impl LedgerObject<NoFlags> for NegativeUNL<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/ledger/objects/negative_unl.rs#L55
warning: the following explicit lifetimes could be elided: 'a
--> src/models/ledger/objects/negative_unl.rs:55:6
|
55 | impl<'a> Model for NegativeUNL<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
55 - impl<'a> Model for NegativeUNL<'a> {}
55 + impl Model for NegativeUNL<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/ledger/objects/ledger_hashes.rs#L50
warning: the following explicit lifetimes could be elided: 'a
--> src/models/ledger/objects/ledger_hashes.rs:50:6
|
50 | impl<'a> LedgerObject<NoFlags> for LedgerHashes<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
50 - impl<'a> LedgerObject<NoFlags> for LedgerHashes<'a> {
50 + impl LedgerObject<NoFlags> for LedgerHashes<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/ledger/objects/ledger_hashes.rs#L48
warning: the following explicit lifetimes could be elided: 'a
--> src/models/ledger/objects/ledger_hashes.rs:48:6
|
48 | impl<'a> Model for LedgerHashes<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
48 - impl<'a> Model for LedgerHashes<'a> {}
48 + impl Model for LedgerHashes<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/ledger/objects/fee_settings.rs#L42
warning: the following explicit lifetimes could be elided: 'a
--> src/models/ledger/objects/fee_settings.rs:42:6
|
42 | impl<'a> LedgerObject<NoFlags> for FeeSettings<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
42 - impl<'a> LedgerObject<NoFlags> for FeeSettings<'a> {
42 + impl LedgerObject<NoFlags> for FeeSettings<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/ledger/objects/fee_settings.rs#L40
warning: the following explicit lifetimes could be elided: 'a
--> src/models/ledger/objects/fee_settings.rs:40:6
|
40 | impl<'a> Model for FeeSettings<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
40 - impl<'a> Model for FeeSettings<'a> {}
40 + impl Model for FeeSettings<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/ledger/objects/escrow.rs#L82
warning: the following explicit lifetimes could be elided: 'a
--> src/models/ledger/objects/escrow.rs:82:6
|
82 | impl<'a> LedgerObject<NoFlags> for Escrow<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
82 - impl<'a> LedgerObject<NoFlags> for Escrow<'a> {
82 + impl LedgerObject<NoFlags> for Escrow<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/ledger/objects/escrow.rs#L80
warning: the following explicit lifetimes could be elided: 'a
--> src/models/ledger/objects/escrow.rs:80:6
|
80 | impl<'a> Model for Escrow<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
80 - impl<'a> Model for Escrow<'a> {}
80 + impl Model for Escrow<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/ledger/objects/directory_node.rs#L69
warning: the following explicit lifetimes could be elided: 'a
--> src/models/ledger/objects/directory_node.rs:69:6
|
69 | impl<'a> LedgerObject<NoFlags> for DirectoryNode<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
69 - impl<'a> LedgerObject<NoFlags> for DirectoryNode<'a> {
69 + impl LedgerObject<NoFlags> for DirectoryNode<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/ledger/objects/directory_node.rs#L67
warning: the following explicit lifetimes could be elided: 'a
--> src/models/ledger/objects/directory_node.rs:67:6
|
67 | impl<'a> Model for DirectoryNode<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
67 - impl<'a> Model for DirectoryNode<'a> {}
67 + impl Model for DirectoryNode<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/ledger/objects/deposit_preauth.rs#L46
warning: the following explicit lifetimes could be elided: 'a
--> src/models/ledger/objects/deposit_preauth.rs:46:6
|
46 | impl<'a> LedgerObject<NoFlags> for DepositPreauth<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
46 - impl<'a> LedgerObject<NoFlags> for DepositPreauth<'a> {
46 + impl LedgerObject<NoFlags> for DepositPreauth<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/ledger/objects/deposit_preauth.rs#L44
warning: the following explicit lifetimes could be elided: 'a
--> src/models/ledger/objects/deposit_preauth.rs:44:6
|
44 | impl<'a> Model for DepositPreauth<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
44 - impl<'a> Model for DepositPreauth<'a> {}
44 + impl Model for DepositPreauth<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/ledger/objects/check.rs#L67
warning: the following explicit lifetimes could be elided: 'a
--> src/models/ledger/objects/check.rs:67:6
|
67 | impl<'a> LedgerObject<NoFlags> for Check<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
67 - impl<'a> LedgerObject<NoFlags> for Check<'a> {
67 + impl LedgerObject<NoFlags> for Check<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/ledger/objects/check.rs#L65
warning: the following explicit lifetimes could be elided: 'a
--> src/models/ledger/objects/check.rs:65:6
|
65 | impl<'a> Model for Check<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
65 - impl<'a> Model for Check<'a> {}
65 + impl Model for Check<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/ledger/objects/amm.rs#L94
warning: the following explicit lifetimes could be elided: 'a
--> src/models/ledger/objects/amm.rs:94:6
|
94 | impl<'a> LedgerObject<NoFlags> for AMM<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
94 - impl<'a> LedgerObject<NoFlags> for AMM<'a> {
94 + impl LedgerObject<NoFlags> for AMM<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/ledger/objects/amm.rs#L92
warning: the following explicit lifetimes could be elided: 'a
--> src/models/ledger/objects/amm.rs:92:6
|
92 | impl<'a> Model for AMM<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
92 - impl<'a> Model for AMM<'a> {}
92 + impl Model for AMM<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/ledger/objects/amendments.rs#L55
warning: the following explicit lifetimes could be elided: 'a
--> src/models/ledger/objects/amendments.rs:55:6
|
55 | impl<'a> LedgerObject<NoFlags> for Amendments<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
55 - impl<'a> LedgerObject<NoFlags> for Amendments<'a> {
55 + impl LedgerObject<NoFlags> for Amendments<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/ledger/objects/amendments.rs#L53
warning: the following explicit lifetimes could be elided: 'a
--> src/models/ledger/objects/amendments.rs:53:6
|
53 | impl<'a> Model for Amendments<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
53 - impl<'a> Model for Amendments<'a> {}
53 + impl Model for Amendments<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/models/ledger/objects/account_root.rs#L124
warning: the following explicit lifetimes could be elided: 'a
--> src/models/ledger/objects/account_root.rs:124:6
|
124 | impl<'a> LedgerObject<AccountRootFlag> for AccountRoot<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
124 - impl<'a> LedgerObject<AccountRootFlag> for AccountRoot<'a> {
124 + impl LedgerObject<AccountRootFlag> for AccountRoot<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/models/ledger/objects/account_root.rs#L122
warning: the following explicit lifetimes could be elided: 'a
--> src/models/ledger/objects/account_root.rs:122:6
|
122 | impl<'a> Model for AccountRoot<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
122 - impl<'a> Model for AccountRoot<'a> {}
122 + impl Model for AccountRoot<'_> {}
|
|
unreachable statement:
src/asynch/mod.rs#L25
warning: unreachable statement
--> src/asynch/mod.rs:25:5
|
22 | return;
| ------ any code following this expression is unreachable
...
25 | / {
26 | | embassy_time::Timer::after_secs(1).await;
27 | | return;
28 | | }
| |_____^ unreachable statement
|
= note: `#[warn(unreachable_code)]` on by default
|
audit
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|