Skip to content

Commit

Permalink
Apply clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
naskya committed Apr 30, 2024
1 parent cf20889 commit 612fe38
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,5 +208,5 @@ impl<'a> WebPushMessageBuilder<'a> {
}

fn is_base64url_char(c: char) -> bool {
return (c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z') || (c >= '0' && c <= '9') || (c == '-' || c == '_');
c.is_ascii_uppercase() || c.is_ascii_lowercase() || c.is_ascii_digit() || (c == '-' || c == '_')
}
1 change: 0 additions & 1 deletion src/vapid/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
pub use self::builder::VapidSignatureBuilder;
use self::key::VapidKey;
pub use self::signer::Claims;
pub use self::signer::VapidSignature;
use self::signer::VapidSigner;

Expand Down

0 comments on commit 612fe38

Please sign in to comment.