Skip to content

Commit

Permalink
Remove unused console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisnewtn committed Jan 31, 2025
1 parent 1c74807 commit 72c77df
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ wasm-bindgen = "0.2.84"
# all the `std::fmt` and `std::panicking` infrastructure, so isn't great for
# code size when deploying.
console_error_panic_hook = { version = "0.1.7", optional = true }
web-sys = { version = "0.3.76", features = ["console"] }

[dev-dependencies]
wasm-bindgen-test = "0.3.34"
Expand Down
8 changes: 0 additions & 8 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@ mod utils;

use wasm_bindgen::prelude::*;

extern crate web_sys;

macro_rules! log {
( $( $t:tt )* ) => {
web_sys::console::log_1(&format!( $( $t )* ).into());
};
}

#[wasm_bindgen]
#[repr(u8)]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
Expand Down

0 comments on commit 72c77df

Please sign in to comment.