diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index d8b167d..bf7d9e3 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -34,7 +34,7 @@ jobs: rustup component add clippy - name: lint code - run: make lint + run: cargo fmt --all -- --check - name: Run Clippy run: cargo clippy --all -- -D warnings diff --git a/src/lib.rs b/src/lib.rs index fae6690..7c1b6bc 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -132,7 +132,7 @@ impl CommandTrigger { .get_func(&mut store, "_start") .context("Expected component to export _start function")?; - let _ = start.call_async(&mut store, &[], &mut []).await?; + start.call_async(&mut store, &[], &mut []).await?; } }