1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-06-03 09:04:12 +02:00

clippy fix

This commit is contained in:
Robin Appelman 2024-06-12 15:06:49 +02:00
commit 90ffcc0a1c
3 changed files with 3 additions and 3 deletions

2
Cargo.lock generated
View file

@ -649,7 +649,7 @@ checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
[[package]]
name = "haze"
version = "1.5.0"
version = "1.6.0"
dependencies = [
"async-trait",
"atty",

View file

@ -550,7 +550,7 @@ impl Cloud {
.collect();
let mut service_ids: Vec<String> = services
.iter()
.filter_map(|service| service.names.as_ref()?.first().map(String::clone))
.filter_map(|service| service.names.as_ref()?.first().cloned())
.collect();
let pinned = (info

View file

@ -67,7 +67,7 @@ pub async fn exec_tty<S1: AsRef<str>, S2: Into<String>, Env: Into<String>>(
let mut stdin = async_stdin().bytes();
loop {
if let Some(Ok(byte)) = stdin.next() {
input.write(&[byte]).await.ok();
input.write_all(&[byte]).await.ok();
} else {
sleep(Duration::from_nanos(10)).await;
}