1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-26 02:19:22 +02:00

rename private-network-access feature (#320)

* update CI with concurrency options

* cors: rename private-network => local-network

* modernize CI

* clippy

* run api diff job on all features
This commit is contained in:
Rob Ede
2023-04-09 19:35:30 +01:00
committed by GitHub
parent 8729f60f79
commit 111d95eaea
13 changed files with 163 additions and 166 deletions

View File

@ -726,10 +726,7 @@ pub mod test_helpers {
impl ServiceResponseExt for ServiceResponse {
fn get_cookie(&self, cookie_name: &str) -> Option<actix_web::cookie::Cookie<'_>> {
self.response()
.cookies()
.into_iter()
.find(|c| c.name() == cookie_name)
self.response().cookies().find(|c| c.name() == cookie_name)
}
}
}