Skip to content

Commit b456520

Browse files
committed
chore: update edition
1 parent 7ad4492 commit b456520

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "vaffelbot-rs"
33
version = "0.1.0"
4-
edition = "2021"
4+
edition = "2024"
55

66
[dependencies]
77
anyhow = "1.0.101"

src/infrastructure/redis_queue_repository.rs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -231,10 +231,12 @@ mod tests {
231231
.expect("Failed to get home directory")
232232
.join(".colima/default/docker.sock");
233233
if std::path::Path::new(&socket).exists() {
234-
std::env::set_var(
235-
"DOCKER_HOST",
236-
format!("unix://{}", socket.to_string_lossy()),
237-
);
234+
unsafe {
235+
std::env::set_var(
236+
"DOCKER_HOST",
237+
format!("unix://{}", socket.to_string_lossy()),
238+
);
239+
}
238240
}
239241
}
240242

0 commit comments

Comments
 (0)