Fix clippy lint. (#736)

This commit is contained in:
Laurent Mazare 2023-09-04 17:09:19 +02:00 committed by GitHub
parent 8395152d20
commit 0d00c06a83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -58,10 +58,10 @@ impl Model {
Err(e) => Err(JsError::new(&e.to_string())),
}
}
#[wasm_bindgen]
pub fn get_seq_len(&mut self) -> usize {
let seq_len = self.inner.config.seq_len;
seq_len
self.inner.config.seq_len
}
#[wasm_bindgen]