mirror of
https://github.com/pimalaya/himalaya.git
synced 2026-06-16 04:17:56 +08: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:
committed by
Clément DOUIN
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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user