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

style: apply fmt & fix clippy warnings

parent 7ed0dd2a
Branches
Tags
1 merge request!28Smiths sub-wot
......@@ -107,9 +107,9 @@ macro_rules! declare_session_keys {
#[derive(Clone, codec::Decode, Debug, codec::Encode, Eq, PartialEq)]
pub struct SessionKeysWrapper(pub SessionKeys);
impl Into<SessionKeys> for SessionKeysWrapper {
fn into(self) -> SessionKeys {
self.0
impl From<SessionKeysWrapper> for SessionKeys {
fn from(keys_wrapper: SessionKeysWrapper) -> SessionKeys {
keys_wrapper.0
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment