Merge pull request #43 from hexedtech/fix/cursor-into

fix: make clippy happy
This commit is contained in:
frelodev 2024-10-12 22:31:10 +02:00 committed by GitHub
commit 11cbb55c82
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -52,6 +52,6 @@ impl CursorController {
/// Block until next
#[napi(js_name = "recv")]
pub async fn js_recv(&self) -> napi::Result<crate::api::Cursor> {
Ok(self.recv().await?.into())
Ok(self.recv().await?)
}
}