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:
Perma Alesheikh 2024-01-09 14:36:04 +03:30 committed by Clément DOUIN
parent 87eac50eb7
commit fc59757a9d
No known key found for this signature in database
GPG key ID: 353E4A18EE0FAB72

View file

@ -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)
}