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;

domains/client/domain-operator/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@
6363
assert_matches,
6464
box_into_inner,
6565
duration_constructors_lite,
66-
let_chains,
6766
more_qualified_paths
6867
)]
6968

domains/client/relayer/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
// TODO: Restore once https://github.com/rust-lang/rust/issues/122105 is resolved
43
// #![deny(unused_crate_dependencies)]

domains/pallets/messenger/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#![cfg_attr(not(feature = "std"), no_std)]
1919
#![forbid(unsafe_code)]
2020
#![warn(rust_2018_idioms)]
21-
#![feature(let_chains, variant_count, if_let_guard)]
21+
#![feature(variant_count, if_let_guard)]
2222

2323
#[cfg(feature = "runtime-benchmarks")]
2424
mod benchmarking;

shared/subspace-data-retrieval/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! Fetching data from the archived history of the Subspace Distributed Storage Network.
22
3-
#![feature(exact_size_is_empty, let_chains, trusted_len)]
3+
#![feature(exact_size_is_empty, trusted_len)]
44

55
pub mod object_fetcher;
66
pub mod piece_fetcher;

0 commit comments

Comments
 (0)