mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-20 22:38:34 +00:00
chore: change impl Into<T> for U to impl From<U> for T (#5948)
* chore: Change Into trait impl for KzgProof to From trait impl * chore: change `impl Into <T> for U` to `impl From<U> for T` * chore: remove `from-over-into` clippy lint exception
This commit is contained in:
@@ -67,9 +67,9 @@ impl From<Hash256> for SigningRoot {
|
||||
}
|
||||
}
|
||||
|
||||
impl Into<Hash256> for SigningRoot {
|
||||
fn into(self) -> Hash256 {
|
||||
self.0
|
||||
impl From<SigningRoot> for Hash256 {
|
||||
fn from(from: SigningRoot) -> Hash256 {
|
||||
from.0
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user