mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 15:11:02 +00:00
tweak some pattern matches to address a new clippy warning
This commit is contained in:
@@ -235,7 +235,7 @@ impl<T: Config> Pallet<T> {
|
||||
pub(crate) fn initializer_on_new_session(
|
||||
notification: &SessionChangeNotification<T::BlockNumber>,
|
||||
) {
|
||||
let &SessionChangeNotification { ref validators, ref new_config, .. } = notification;
|
||||
let SessionChangeNotification { validators, new_config, .. } = notification;
|
||||
let config = new_config;
|
||||
|
||||
let mut thread_queue = ParathreadQueue::<T>::get();
|
||||
|
||||
Reference in New Issue
Block a user