From 8fa4829d6da987ee7610587634da9172db02baf5 Mon Sep 17 00:00:00 2001 From: Artyom Pavlov Date: Thu, 5 Dec 2024 01:43:30 +0300 Subject: [PATCH] fmt --- src/backends/wasm_js.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/wasm_js.rs b/src/backends/wasm_js.rs index 3e66e95a..d882f246 100644 --- a/src/backends/wasm_js.rs +++ b/src/backends/wasm_js.rs @@ -21,7 +21,7 @@ pub fn fill_inner(dest: &mut [MaybeUninit]) -> Result<(), Error> { if !crypto.is_object() { return Err(Error::WEB_CRYPTO); } - + // getRandomValues does not work with all types of WASM memory, // so we initially write to browser memory to avoid exceptions. let buf = Uint8Array::new_with_length(CRYPTO_BUFFER_SIZE.into());