mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-28 19:19:47 +00:00
Fixed warning about dev environment due to change in Rust 1.80.0
This commit is contained in:
parent
b6703828c9
commit
9a8992dbf9
@ -292,7 +292,7 @@ enum ServerEvent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn is_dev() -> bool {
|
pub fn is_dev() -> bool {
|
||||||
cfg!(dev)
|
cfg!(debug_assertions)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn is_prod() -> bool {
|
pub fn is_prod() -> bool {
|
||||||
|
Loading…
Reference in New Issue
Block a user