tweak some pattern matches to address a new clippy warning

This commit is contained in:
Mira Ressel
2023-03-16 15:46:34 +01:00
parent a01de76ca1
commit 058082fcb0
6 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -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();