Skip to content

Commit ad37d83

Browse files
committed
feat: remove let_chains feature
1 parent 5788435 commit ad37d83

File tree

14 files changed

+5
-15
lines changed

14 files changed

+5
-15
lines changed

crates/pallet-domains/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! Pallet Domains
22
33
#![cfg_attr(not(feature = "std"), no_std)]
4-
#![feature(array_windows, let_chains, variant_count)]
4+
#![feature(array_windows, variant_count)]
55

66
#[cfg(feature = "runtime-benchmarks")]
77
mod benchmarking;

crates/pallet-subspace/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#![doc = include_str!("../README.md")]
22
#![cfg_attr(not(feature = "std"), no_std)]
3-
#![feature(array_chunks, assert_matches, let_chains, portable_simd)]
3+
#![feature(array_chunks, assert_matches, portable_simd)]
44
#![warn(unused_must_use, unsafe_code, unused_variables)]
55

66
#[cfg(not(feature = "std"))]

crates/sc-consensus-subspace/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//!
77
//! All of the modules here are crucial for consensus, open each module for specific details.
88
9-
#![feature(let_chains, try_blocks, duration_constructors_lite)]
9+
#![feature(try_blocks, duration_constructors_lite)]
1010
#![forbid(unsafe_code)]
1111
#![warn(missing_docs)]
1212

crates/sc-proof-of-time/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
//! Subspace proof of time implementation.
22
3-
#![feature(let_chains)]
4-
53
mod slots;
64
pub mod source;
75
pub mod verifier;

crates/sp-consensus-subspace/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
33
#![forbid(unsafe_code, missing_docs)]
44
#![cfg_attr(not(feature = "std"), no_std)]
5-
#![feature(let_chains)]
65

76
extern crate alloc;
87

crates/subspace-farmer/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
impl_trait_in_assoc_type,
1111
int_roundings,
1212
iter_collect_into,
13-
let_chains,
1413
never_type,
1514
result_flattening,
1615
trait_alias,

crates/subspace-service/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
duration_constructors_lite,
44
impl_trait_in_assoc_type,
55
int_roundings,
6-
let_chains,
76
type_alias_impl_trait,
87
type_changing_struct_update
98
)]

domains/client/block-builder/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
//! initialize a block, to push extrinsics and to finalize a block.
2626
2727
#![warn(missing_docs)]
28-
#![feature(let_chains)]
2928

3029
mod custom_api;
3130
mod genesis_block_builder;

domains/client/block-preprocessor/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
//! 5. Push back the potential new domain runtime extrisnic.
1010
1111
#![warn(rust_2018_idioms)]
12-
#![feature(let_chains)]
1312

1413
pub mod inherents;
1514
pub mod stateless_runtime;

domains/client/cross-domain-message-gossip/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![feature(let_chains)]
21
#![warn(rust_2018_idioms)]
32

43
mod aux_schema;

0 commit comments

Comments
 (0)