avoid some clippy warnings
This commit is contained in:
@ -7,11 +7,7 @@ use crate::api_schema::router::*;
|
||||
pub mod datastore;
|
||||
|
||||
pub fn router() -> Router {
|
||||
|
||||
let route = Router::new()
|
||||
Router::new()
|
||||
.subdir("datastore", datastore::router())
|
||||
.list_subdirs();
|
||||
|
||||
|
||||
route
|
||||
.list_subdirs()
|
||||
}
|
||||
|
Reference in New Issue
Block a user