Skip to content

Commit

Permalink
build: resolve warn and remove old code
Browse files Browse the repository at this point in the history
  • Loading branch information
istudyatuni committed Apr 17, 2022
1 parent 9f71164 commit 0e36f7e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const config = {
outDir: 'build',
target: 'esnext',
},
base: '/mandelbrot',
base: '/mandelbrot/',
}

export default config
4 changes: 0 additions & 4 deletions wasm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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!();
}
Expand Down

0 comments on commit 0e36f7e

Please sign in to comment.