fix clippy warning

This commit is contained in:
gengteng
2023-07-22 13:36:04 +08:00
parent 0adb29d3ea
commit 655eaa8519
3 changed files with 12 additions and 7 deletions

View File

@@ -15,10 +15,10 @@ use std::net::SocketAddr;
use validator::Validate;
mod route {
pub const PATH: &'static str = "/path/:v0/:v1";
pub const QUERY: &'static str = "/query";
pub const FORM: &'static str = "/form";
pub const JSON: &'static str = "/json";
pub const PATH: &str = "/path/:v0/:v1";
pub const QUERY: &str = "/query";
pub const FORM: &str = "/form";
pub const JSON: &str = "/json";
}
#[tokio::test]