From 74ef46c1f7b1a62d8ffc9a9e9420f79bda3dfe3c Mon Sep 17 00:00:00 2001 From: Andras Schmelczer Date: Fri, 20 Dec 2024 18:47:45 +0000 Subject: [PATCH] Fix lint --- backend/sync_lib/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/sync_lib/src/lib.rs b/backend/sync_lib/src/lib.rs index ff374ace..cad32222 100644 --- a/backend/sync_lib/src/lib.rs +++ b/backend/sync_lib/src/lib.rs @@ -10,7 +10,7 @@ pub mod errors; // allocator. #[cfg(feature = "wee_alloc")] #[global_allocator] -static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT; +static ALLOC: wee_alloc::WeeAlloc<'_> = wee_alloc::WeeAlloc::INIT; #[wasm_bindgen] pub fn bytes_to_base64(input: &[u8]) -> String { STANDARD_NO_PAD.encode(input) }