Fixed warning about dev environment due to change in Rust 1.80.0

This commit is contained in:
Thorsten Sommer 2024-07-26 12:15:26 +02:00
parent b6703828c9
commit 9a8992dbf9
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -292,7 +292,7 @@ enum ServerEvent {
}
pub fn is_dev() -> bool {
cfg!(dev)
cfg!(debug_assertions)
}
pub fn is_prod() -> bool {