mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-29 00:57:57 +00:00
Disable clippy::unwrap_or_default lint for the project (#1647)
* disable clippy lint trigerred by a macro * typo in lint name * Update macro/src/lib.rs Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com> * move missing docs * add workspace.lints = true for remaining crates * lint fixes * Update signer/src/eth.rs Co-authored-by: James Wilson <james@jsdw.me> --------- Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com> Co-authored-by: James Wilson <james@jsdw.me>
This commit is contained in:
+3
-2
@@ -3,8 +3,8 @@
|
||||
// see LICENSE for license details.
|
||||
|
||||
//! Subxt macro for generating Substrate runtime interfaces.
|
||||
|
||||
extern crate proc_macro;
|
||||
// TODO: The workspace lint is not working properly so it's disabled here for now.
|
||||
#![allow(clippy::manual_unwrap_or_default)]
|
||||
|
||||
use codec::Decode;
|
||||
use darling::{ast::NestedMeta, FromMeta};
|
||||
@@ -85,6 +85,7 @@ struct SubstituteType {
|
||||
}
|
||||
|
||||
// Note: docs for this are in the subxt library; don't add further docs here as they will be appended.
|
||||
#[allow(missing_docs)]
|
||||
#[proc_macro_attribute]
|
||||
#[proc_macro_error]
|
||||
pub fn subxt(args: TokenStream, input: TokenStream) -> TokenStream {
|
||||
|
||||
Reference in New Issue
Block a user