Browse Source

removed extraneous extern

pull/1/head
Ravi Shah 5 years ago
parent
commit
85dbce9d4f
  1. 6
      src/lib.rs

6
src/lib.rs

@ -10,12 +10,6 @@ use std::process;
#[global_allocator]
static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT;
#[wasm_bindgen]
extern "C" {
#[wasm_bindgen(js_namespace = console)]
fn log(s: &str);
}
pub fn transcription(dna: String) -> String {
let char_vec: Vec<char> = dna.chars().collect();
let mut transcribed_vec: Vec<char> = Vec::new();

Loading…
Cancel
Save