Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit ee8aa32

Browse files
authored
fix nightly warnings (#7347)
1 parent b6576d1 commit ee8aa32

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

node/service/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1286,7 +1286,7 @@ macro_rules! chain_ops {
12861286
/// Builds a new object suitable for chain operations.
12871287
#[cfg(feature = "full-node")]
12881288
pub fn new_chain_ops(
1289-
mut config: &mut Configuration,
1289+
config: &mut Configuration,
12901290
jaeger_agent: Option<std::net::SocketAddr>,
12911291
) -> Result<
12921292
(

runtime/common/src/paras_registrar.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,12 +433,12 @@ impl<T: Config> Registrar for Pallet<T> {
433433

434434
// Apply a lock to the parachain.
435435
fn apply_lock(id: ParaId) {
436-
Paras::<T>::mutate(id, |x| x.as_mut().map(|mut info| info.locked = true));
436+
Paras::<T>::mutate(id, |x| x.as_mut().map(|info| info.locked = true));
437437
}
438438

439439
// Remove a lock from the parachain.
440440
fn remove_lock(id: ParaId) {
441-
Paras::<T>::mutate(id, |x| x.as_mut().map(|mut info| info.locked = false));
441+
Paras::<T>::mutate(id, |x| x.as_mut().map(|info| info.locked = false));
442442
}
443443

444444
// Register a Para ID under control of `manager`.

0 commit comments

Comments
 (0)