From 459016e70dd4933a8082d27748097de81a3e53ff Mon Sep 17 00:00:00 2001 From: Joris Date: Mon, 17 Apr 2023 21:10:48 +0200 Subject: Follow clippy indications --- src/mail.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mail.rs') diff --git a/src/mail.rs b/src/mail.rs index 149a5ef..dec8691 100644 --- a/src/mail.rs +++ b/src/mail.rs @@ -89,7 +89,7 @@ fn format_address(name: String, address: String) -> String { format!("{} <{}>", name, address) } -async fn spawn(mut command: Command, stdin: &Vec) -> Result { +async fn spawn(mut command: Command, stdin: &[u8]) -> Result { let mut process = command.spawn()?; process .stdin -- cgit v1.2.3