mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-25 03:54:21 +01:00
fix clippy and remove old action yaml
This commit is contained in:
@@ -89,7 +89,7 @@ fn resume_sync(holder: &GeneratorHolder, error: Option<String>) -> napi::Result<
|
||||
impl GeneratorHolder {
|
||||
#[napi]
|
||||
pub fn resume_sync(&self, error: Option<String>) -> napi::Result<GeneratorResponse> {
|
||||
resume_sync(&self, error)
|
||||
resume_sync(self, error)
|
||||
}
|
||||
|
||||
#[napi]
|
||||
|
||||
@@ -218,6 +218,7 @@ impl SyncEngine {
|
||||
Ok(())
|
||||
});
|
||||
Ok(GeneratorHolder {
|
||||
#[allow(clippy::arc_with_non_send_sync)]
|
||||
generator: Arc::new(Mutex::new(generator)),
|
||||
response: Arc::new(Mutex::new(None)),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user