fix: make clippy happy

This commit is contained in:
əlemi 2024-10-12 22:15:07 +02:00
parent 306a687354
commit 6d5a703369
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

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