fix clippy and remove old action yaml

This commit is contained in:
Nikita Sivukhin
2025-09-11 00:03:01 +04:00
parent fde376f36c
commit 1a4d334e47
5 changed files with 8 additions and 199 deletions

View File

@@ -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]

View File

@@ -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)),
})