Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
gferon committed Oct 15, 2024
1 parent 04bddab commit 62f53d3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/push_service/keys.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ impl PushService {
Ok(pre_keys)
}

async fn get_sender_certificate(
pub async fn get_sender_certificate(
&mut self,
) -> Result<SenderCertificate, ServiceError> {
let cert: SenderCertificateJson = self
Expand All @@ -121,7 +121,7 @@ impl PushService {
Ok(SenderCertificate::deserialize(&cert.certificate)?)
}

async fn get_uuid_only_sender_certificate(
pub async fn get_uuid_only_sender_certificate(
&mut self,
) -> Result<SenderCertificate, ServiceError> {
let cert: SenderCertificateJson = self
Expand Down
1 change: 0 additions & 1 deletion src/push_service/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ pub use cdn::*;
pub use error::*;
pub use keys::*;
pub use linking::*;
pub use profile::*;
pub use registration::*;

#[derive(Debug, Serialize, Deserialize)]
Expand Down
9 changes: 5 additions & 4 deletions src/push_service/registration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,10 +220,11 @@ impl PushService {
/// Request a verification code.
///
/// Signal requires a client type, and they use these three strings internally:
/// - "android-2021-03"
/// - "android"
/// - "ios"
/// "android-2021-03" allegedly implies FCM support, whereas the other strings don't. In
/// - "android-2021-03"
/// - "android"
/// - "ios"
///
/// "android-2021-03" allegedly implies FCM support, whereas the other strings don't. In
/// principle, they will consider any string as "unknown", so other strings may work too.
pub async fn request_verification_code(
&mut self,
Expand Down

0 comments on commit 62f53d3

Please sign in to comment.