移除文件保存不校验的问题
This commit is contained in:
parent
94cb27d1e7
commit
7024a4f19d
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@ -1,3 +0,0 @@
|
||||
{
|
||||
"rust-analyzer.checkOnSave": false
|
||||
}
|
@ -20,8 +20,8 @@ where
|
||||
|
||||
async fn from_request(req: http::Request<Body>, state: &S) -> Result<Self, Self::Rejection> {
|
||||
let (parts, body) = req.into_parts();
|
||||
let query = Query::<T>::from_request(Request::from_parts(parts.clone(), body), state).await;
|
||||
let header = &parts.headers;
|
||||
let query = Query::<T>::from_request(Request::from_parts(parts.clone(), body), state).await;
|
||||
|
||||
if let Ok(Query(data)) = query {
|
||||
match data.validate() {
|
||||
|
Loading…
Reference in New Issue
Block a user