remove recursion limit (#3348)

According to the
[doc](https://doc.rust-lang.org/reference/attributes/limits.html), the
default is 128, so no point to specify limit with 128

Co-authored-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
Xiliang Chen
2024-02-17 01:39:42 +13:00
committed by GitHub
parent b8ad0d1f56
commit 34352e82cf
6 changed files with 0 additions and 7 deletions
-1
View File
@@ -29,7 +29,6 @@
//! wasm engine used, instance cache.
#![warn(missing_docs)]
#![recursion_limit = "128"]
#[macro_use]
mod executor;
-1
View File
@@ -40,7 +40,6 @@
//! If there are not, or if no prime is set, then the motion is dropped without being executed.
#![cfg_attr(not(feature = "std"), no_std)]
#![recursion_limit = "128"]
use codec::{Decode, Encode, MaxEncodedLen};
use scale_info::TypeInfo;
@@ -56,7 +56,6 @@
//! cannot be approved - they must proceed only to promotion prior to the offboard timeout elapsing.
#![cfg_attr(not(feature = "std"), no_std)]
#![recursion_limit = "128"]
use codec::{Decode, Encode, MaxEncodedLen};
use scale_info::TypeInfo;
@@ -39,7 +39,6 @@
//! least a particular rank.
#![cfg_attr(not(feature = "std"), no_std)]
#![recursion_limit = "128"]
use codec::{Decode, Encode, MaxEncodedLen};
use scale_info::TypeInfo;
-1
View File
@@ -18,7 +18,6 @@
//! Make periodic payment to members of a ranked collective according to rank.
#![cfg_attr(not(feature = "std"), no_std)]
#![recursion_limit = "128"]
use codec::{Decode, Encode, MaxEncodedLen};
use core::marker::PhantomData;
@@ -19,8 +19,6 @@
//! Use to derive parsing for parsing struct.
// end::description[]
#![recursion_limit = "128"]
use proc_macro::TokenStream;
use proc_macro2::Span;
use quote::quote;