Skip to content
Snippets Groups Projects
Commit ad230b5b authored by Éloïs's avatar Éloïs
Browse files

clippy

parent b6778e7e
No related branches found
No related tags found
1 merge request!26ref: simplify wot (remove right)
...@@ -337,7 +337,7 @@ pub mod pallet { ...@@ -337,7 +337,7 @@ pub mod pallet {
let name = idty_value.name.clone(); let name = idty_value.name.clone();
<Identities<T>>::insert(idty_index, idty_value); <Identities<T>>::insert(idty_index, idty_value);
Self::deposit_event(Event::IdtyValidated(name.clone())); Self::deposit_event(Event::IdtyValidated(name));
T::OnIdtyChange::on_idty_change(idty_index, IdtyEvent::Validated); T::OnIdtyChange::on_idty_change(idty_index, IdtyEvent::Validated);
Ok(().into()) Ok(().into())
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment