mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-16 07:30:02 -04:00
remove useless logs
This commit is contained in:
parent
93db66ebc8
commit
dc490064d3
4 changed files with 2 additions and 7 deletions
|
@ -40,8 +40,7 @@ pub fn rewrite_js(js: &str, url: &str, encode: Function) -> Vec<u8> {
|
|||
|
||||
#[wasm_bindgen]
|
||||
pub fn rewrite_js_from_arraybuffer(js: &[u8], url: &str, encode: Function) -> Vec<u8> {
|
||||
// technically slower than the c++ string conversion but it will create *less copies*
|
||||
|
||||
// we know that this is a valid utf-8 string
|
||||
let js = unsafe { std::str::from_utf8_unchecked(js) };
|
||||
|
||||
rewrite(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue