Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
NexVeridian committed Oct 26, 2024
1 parent b0efc80 commit 9e01579
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion examples/demo/src/controllers/cache.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use crate::models::users;
use loco_rs::prelude::*;
use serde::{Deserialize, Serialize};

use crate::models::users;
#[derive(Serialize, Deserialize)]
pub struct CacheResponse {
value: Option<String>,
Expand Down
3 changes: 1 addition & 2 deletions examples/demo/src/controllers/responses.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,5 @@ pub fn routes() -> Routes {
}

pub fn api_routes() -> OpenApiRouter<AppContext> {
OpenApiRouter::new()
.routes(routes!(album))
OpenApiRouter::new().routes(routes!(album))
}

0 comments on commit 9e01579

Please sign in to comment.