Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
BillCarsonFr committed Dec 6, 2023
1 parent de9613a commit 6123caa
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/machine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1347,12 +1347,13 @@ impl OlmMachine {
///
/// This method will cause the sdk to generated outgoing secret requests
/// (`m.secret.request`) to get the missing secrets. These requests will
/// then be returned by a future call to {@link OlmMachine#outgoing_requests}.
/// then be returned by a future call to {@link
/// OlmMachine#outgoing_requests}.
///
/// # Returns
/// # Returns
///
/// A `Promise` for a `bool` result, which will be true if secrets were missing,
/// and a request was generated.
/// A `Promise` for a `bool` result, which will be true if secrets were
/// missing, and a request was generated.
#[wasm_bindgen(js_name = "requestMissingSecretsIfNeeded")]
pub async fn request_missing_secrets_if_needed(&self) -> Promise {
let me = self.inner.clone();
Expand Down

0 comments on commit 6123caa

Please sign in to comment.