Clean up imports
All checks were successful
Build Crate / build (push) Successful in 1m47s

This commit is contained in:
2024-08-28 21:55:23 -04:00
parent df0d7d6c0d
commit 1faaf65aad
10 changed files with 41 additions and 71 deletions

View File

@@ -6,11 +6,13 @@ pub struct GenericResponse {
}
impl GenericResponse {
#[cfg(engine)]
pub fn ok() -> Self {
GenericResponse {
status: String::new(),
}
}
#[cfg(engine)]
pub fn err(msg: &str) -> Self {
GenericResponse {
status: msg.to_string(),