Skip to content

Commit

Permalink
style: code lint
Browse files Browse the repository at this point in the history
  • Loading branch information
fu050409 committed Apr 8, 2024
1 parent e4ae8a2 commit e1971c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions oblivion-codegen/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ use quote::quote;
use syn::{parse_macro_input, ItemFn};

/// ## Oblivion 业务函数宏
///
///
/// 这是一个示例:
///
///
/// ```rust
/// use oblivion::oblivion_codegen::async_route;
/// use oblivion::utils::parser::OblivionRequest;
/// use oblivion::models::render::{BaseResponse, Response};
///
///
/// #[async_route]
/// fn welcome(mut req: OblivionRequest) -> Response {
/// Ok(BaseResponse::TextResponse(
Expand Down
2 changes: 1 addition & 1 deletion src/models/render.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! # Oblivion Render
use anyhow::Result;
use futures::future::BoxFuture;
use serde_json::Value;
use anyhow::Result;

use crate::exceptions::OblivionException;

Expand Down

0 comments on commit e1971c5

Please sign in to comment.