Added reference to bytes_vec

This commit is contained in:
Баранов Максим Игоревич
2018-05-24 10:31:34 +03:00
parent afc23de20f
commit ce932c15d6

View File

@@ -270,7 +270,7 @@ impl EmailBuilder {
/// This is usefull when your attachment is actually not a file, but a sequence of bytes.
pub fn attach_from_vec(
self,
bytes_vec: Vec<u8>,
bytes_vec: &Vec<u8>,
filename: &str,
content_type: &Mime,
) -> Result<EmailBuilder, Error> {