diff options
Diffstat (limited to 'template/src/lib.rs')
-rw-r--r-- | template/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/template/src/lib.rs b/template/src/lib.rs index 7a96b06..be3ce45 100644 --- a/template/src/lib.rs +++ b/template/src/lib.rs @@ -300,7 +300,7 @@ impl<TE, D> TemplateExt<TE, D> for Template<TE> let parts = MailParts { //UNWRAP_SAFE (complexly mapping a Vec1 is safe) - alternative_bodies: Vec1::from_vec(bodies).unwrap(), + alternative_bodies: Vec1::try_from_vec(bodies).unwrap(), inline_embeddings: inline_embeddings_vec, attachments }; |