aboutsummaryrefslogtreecommitdiff
path: root/src/mail.rs
diff options
context:
space:
mode:
authorJoris2023-04-17 21:10:48 +0200
committerJoris2023-04-17 21:10:48 +0200
commit459016e70dd4933a8082d27748097de81a3e53ff (patch)
tree0ed14ecc8762d62a55bf8c05356bcc984b1a0cea /src/mail.rs
parent3932daa26360d6e03807381d0b8ffa2d0e704847 (diff)
downloadbudget-459016e70dd4933a8082d27748097de81a3e53ff.tar.gz
budget-459016e70dd4933a8082d27748097de81a3e53ff.tar.bz2
budget-459016e70dd4933a8082d27748097de81a3e53ff.zip
Follow clippy indications
Diffstat (limited to 'src/mail.rs')
-rw-r--r--src/mail.rs2
1 files changed, 1 insertions, 1 deletions
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<u8>) -> Result<Output, Error> {
+async fn spawn(mut command: Command, stdin: &[u8]) -> Result<Output, Error> {
let mut process = command.spawn()?;
process
.stdin