From 0e36f7e5362ff92c0bd3d7ea13ef90afa9df36a2 Mon Sep 17 00:00:00 2001 From: Ilia Date: Sun, 17 Apr 2022 14:15:16 +0300 Subject: [PATCH] build: resolve warn and remove old code --- vite.config.js | 2 +- wasm/src/lib.rs | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/vite.config.js b/vite.config.js index b3684f6..b2360ad 100644 --- a/vite.config.js +++ b/vite.config.js @@ -30,7 +30,7 @@ const config = { outDir: 'build', target: 'esnext', }, - base: '/mandelbrot', + base: '/mandelbrot/', } export default config diff --git a/wasm/src/lib.rs b/wasm/src/lib.rs index 6f3a3b8..17e09fe 100644 --- a/wasm/src/lib.rs +++ b/wasm/src/lib.rs @@ -75,10 +75,6 @@ impl Mandelbrot { self.pixels.as_ptr() } - /*pub fn stats(&self) -> usize { - self.pixels.iter().filter(|p| **p == IS_IN).count() - }*/ - pub fn scale2x() { unimplemented!(); }