mirror of
https://github.com/soywod/himalaya.git
synced 2024-07-05 17:15:12 +00:00
remove another unnecessary conversion
Reasons: - Avoid unnecessary conversion, since into is called on an String value when String is expected, anyway. Signed-off-by: Perma Alesheikh <me@prma.dev>
This commit is contained in:
parent
87eac50eb7
commit
fc59757a9d
|
@ -41,12 +41,11 @@ impl TemplateWriteCommand {
|
|||
self.cache.disable,
|
||||
)?;
|
||||
|
||||
let tpl: String = Message::new_tpl_builder(&account_config)
|
||||
let tpl = Message::new_tpl_builder(&account_config)
|
||||
.with_headers(self.headers.raw)
|
||||
.with_body(self.body.raw())
|
||||
.build()
|
||||
.await?
|
||||
.into();
|
||||
.await?;
|
||||
|
||||
printer.print(tpl)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue