diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 180d999..f4f5ee4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ env: jobs: fmt: - name: Check Formatting + name: Tidy Code runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -21,11 +21,17 @@ jobs: with: rust-version: stable components: rustfmt + - uses: taiki-e/install-action@v2 + with: + tool: typos-cli - name: Check Formatting run: cargo fmt --all -- --check + - name: Run Typos + run: typos tests: name: Tests + needs: fmt # `raw-window-handle` only has `cfg` guards for Android, so we just run Ubuntu # and manually test Android runs-on: ubuntu-latest diff --git a/src/lib.rs b/src/lib.rs index ef3871b..558800a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -159,7 +159,7 @@ pub enum RawWindowHandle { /// /// ## Availability Hints /// This variant is present regardless of windowing backend and likely to be used with - /// EGL_MESA_platfrom_gbm or EGL_KHR_platfrom_gbm. + /// EGL_MESA_platform_gbm or EGL_KHR_platform_gbm. Gbm(GbmWindowHandle), /// A raw window handle for Win32. ///