Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug/326 overflow #327

Merged
merged 6 commits into from
Aug 17, 2022
Merged

Bug/326 overflow #327

merged 6 commits into from
Aug 17, 2022

Conversation

jrconlin
Copy link
Member

No description provided.

@jrconlin jrconlin requested review from pjenvey, taddes and a team August 15, 2022 22:19
@jrconlin jrconlin marked this pull request as ready for review August 15, 2022 22:19
@@ -335,6 +335,7 @@ mod tests {
const DEVICE_TOKEN: &str = "test-token";
const APNS_ID: &str = "deadbeef-4f5e-4403-be8f-35d0251655f5";

#[allow(clippy::type_complexity)]
/// A mock APNS client which allows one to supply a custom APNS response/error
struct MockApnsClient {
send_fn: Box<dyn Fn(Payload<'_>) -> Result<a2::Response, a2::Error> + Send + Sync>,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We probably should make this a discrete type, but we only do this once, and I don't think it kills readability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants