Update rust (#263)
soaricarus_api CI / Check (push) Successful in 6m48s
soaricarus_api CI / Rustfmt (push) Successful in 3m46s
soaricarus_api CI / Clippy (push) Successful in 7m9s
soaricarus_api CI / build (push) Successful in 2m3s
soaricarus_api CI / Test Suite (push) Successful in 4m2s
soaricarus_api CI / Check (push) Successful in 6m48s
soaricarus_api CI / Rustfmt (push) Successful in 3m46s
soaricarus_api CI / Clippy (push) Successful in 7m9s
soaricarus_api CI / build (push) Successful in 2m3s
soaricarus_api CI / Test Suite (push) Successful in 4m2s
Reviewed-on: http://git.kundeng.us/phoenix/soaricarus_api/pulls/263
This commit was merged in pull request #263.
This commit is contained in:
1 parent
874ec9e914
commit
96af35e2dd
9 files changed
+294
-358
No files matched your search
@@ -201,7 +201,7 @@ pub mod endpoint {
|
||||
}
|
||||
}
|
||||
}
|
||||
Err(err) => match err {
|
||||
Err(err) => match *err {
|
||||
labyrinth::Error::Info(err_str) => {
|
||||
eprintln!("Error: {:?}", err_str);
|
||||
response.message = err_str.to_string();
|
||||
|
||||
+1
-1
@@ -120,7 +120,7 @@ mod tests {
|
||||
pub async fn resp_to_bytes(
|
||||
response: axum::response::Response,
|
||||
) -> Result<axum::body::Bytes, axum::Error> {
|
||||
axum::body::to_bytes(response.into_body(), std::usize::MAX).await
|
||||
axum::body::to_bytes(response.into_body(), usize::MAX).await
|
||||
}
|
||||
|
||||
pub async fn get_resp_data<Data>(response: axum::response::Response) -> Data
|
||||
|
||||
Reference in new issue
Block a user