Skip to content

Commit

Permalink
Make rustfmt happy
Browse files Browse the repository at this point in the history
  • Loading branch information
rubdos authored Aug 7, 2023
1 parent 92f6673 commit 101495a
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions libsignal-service/src/provisioning/manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -346,12 +346,11 @@ impl<P: PushService> LinkingManager<P> {
self.password.clone(),
);

let provisioning_code = message
.provisioning_code
.ok_or(ProvisioningError::InvalidData {
reason: "no provisioning confirmation code"
.into(),
})?;
let provisioning_code = message.provisioning_code.ok_or(
ProvisioningError::InvalidData {
reason: "no provisioning confirmation code".into(),
},
)?;

let device_id = provisioning_manager
.confirm_device(
Expand Down

0 comments on commit 101495a

Please sign in to comment.