mirror of
https://github.com/soywod/himalaya.git
synced 2024-07-05 17:15:12 +00:00
replace into implementation with from
Reasons: - From Implementation also implements Into trait. - Adhere to the recommendation by the Into trait's comments. Signed-off-by: Perma Alesheikh <me@prma.dev>
This commit is contained in:
parent
bd1ac45a58
commit
54287d40b8
|
@ -803,10 +803,9 @@ impl Deref for BackendBuilder {
|
||||||
&self.builder
|
&self.builder
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
impl From<BackendBuilder> for email::backend::BackendBuilder<BackendContextBuilder> {
|
||||||
impl Into<email::backend::BackendBuilder<BackendContextBuilder>> for BackendBuilder {
|
fn from(backend_builder: BackendBuilder) -> Self {
|
||||||
fn into(self) -> email::backend::BackendBuilder<BackendContextBuilder> {
|
backend_builder.builder
|
||||||
self.builder
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue