2023-11-19 automated rustfmt nightly
This commit is contained in:
parent
c12debfd0c
commit
f5882ef3c6
|
@ -118,25 +118,17 @@ impl Params {
|
|||
}
|
||||
|
||||
impl From<Network> for Params {
|
||||
fn from(value: Network) -> Self {
|
||||
Self::new(value)
|
||||
}
|
||||
fn from(value: Network) -> Self { Self::new(value) }
|
||||
}
|
||||
|
||||
impl From<&Network> for Params {
|
||||
fn from(value: &Network) -> Self {
|
||||
Self::new(*value)
|
||||
}
|
||||
fn from(value: &Network) -> Self { Self::new(*value) }
|
||||
}
|
||||
|
||||
impl From<Network> for &'static Params {
|
||||
fn from(value: Network) -> Self {
|
||||
value.params()
|
||||
}
|
||||
fn from(value: Network) -> Self { value.params() }
|
||||
}
|
||||
|
||||
impl From<&Network> for &'static Params {
|
||||
fn from(value: &Network) -> Self {
|
||||
value.params()
|
||||
}
|
||||
fn from(value: &Network) -> Self { value.params() }
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue