Commit 99705f45 authored by Chunchi Che's avatar Chunchi Che

fix clippy

parent 95f31368
Pipeline #20745 passed with stages
in 14 minutes and 42 seconds
...@@ -81,6 +81,7 @@ pub struct BufferWriter { ...@@ -81,6 +81,7 @@ pub struct BufferWriter {
#[wasm_bindgen] #[wasm_bindgen]
impl BufferWriter { impl BufferWriter {
#[wasm_bindgen(constructor)] #[wasm_bindgen(constructor)]
#[allow(clippy::new_without_default)]
pub fn new() -> Self { pub fn new() -> Self {
Self { array: Vec::new() } Self { array: Vec::new() }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment