aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2021-12-04 18:41:17 -0700
committerMelody Horn <melody@boringcactus.com>2021-12-04 18:41:17 -0700
commitdef3018a26189fdf56f9776f8b7c06ea681f0577 (patch)
tree56e68e235d2c65bc805bfa6eb7a6bb6e2a24d533 /src
parente0bf354bb6301761146d3025bdc6176c33877790 (diff)
downloadqueue-go-brrr-def3018a26189fdf56f9776f8b7c06ea681f0577.tar.gz
queue-go-brrr-def3018a26189fdf56f9776f8b7c06ea681f0577.zip
saving 5 KB isn't worth it
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 74d4be9..b0c7353 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -15,12 +15,6 @@ mod ocr;
use history::{History, NoETA};
-// When the `wee_alloc` feature is enabled, use `wee_alloc` as the global
-// allocator.
-#[cfg(feature = "wee_alloc")]
-#[global_allocator]
-static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT;
-
async fn blob_to_image(blob: Blob) -> DynamicImage {
let image_data = gloo::file::futures::read_as_bytes(&blob.into())
.await