From a97568443c42ea59ba5217eb9c425883e396a84f Mon Sep 17 00:00:00 2001 From: Florian Duros Date: Wed, 4 Oct 2023 17:11:41 +0200 Subject: [PATCH] Fix doc of `generate_qr_code` return --- src/verification.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/verification.rs b/src/verification.rs index cac64e900..ed8201deb 100644 --- a/src/verification.rs +++ b/src/verification.rs @@ -1174,7 +1174,7 @@ impl VerificationRequest { /// Generate a QR code that can be used by another client to start /// a QR code based verification. /// - /// Returns a `Qr`. + /// Returns a `Qr` or `undefined`. #[cfg(feature = "qrcode")] #[wasm_bindgen(js_name = "generateQrCode")] pub fn generate_qr_code(&self) -> Promise {