mirror of
https://github.com/solaeus/nucleo.git
synced 2024-12-21 09:37:48 +00:00
add typos-rs to ci (#24)
This commit is contained in:
parent
9e413c76b9
commit
2abe133a94
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
@ -16,7 +16,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout sources
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install toolchain
|
||||
uses: dtolnay/rust-toolchain@master
|
||||
@ -35,7 +35,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout sources
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install stable toolchain
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
@ -50,7 +50,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout sources
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install stable toolchain
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
@ -71,3 +71,13 @@ jobs:
|
||||
run: cargo doc --no-deps --workspace --document-private-items
|
||||
env:
|
||||
RUSTDOCFLAGS: -D warnings
|
||||
|
||||
typos:
|
||||
name: Typos
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout sources
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Run typos
|
||||
uses: crate-ci/typos@v1.16.11
|
||||
|
@ -93,7 +93,7 @@ use crate::matrix::MatrixSlab;
|
||||
/// memory is fairly large (around 135KB) so creating a matcher is expensive.
|
||||
///
|
||||
/// All `.._match` functions will not compute the indices of the matched
|
||||
/// characters. These should be used to prefitler to filter and rank all
|
||||
/// characters. These should be used to prefilter to filter and rank all
|
||||
/// matches. All `.._indices` functions will also compute the indices of the
|
||||
/// matched characters but are slower compared to the `..match` variant. These
|
||||
/// should be used when rendering the best N matches. Note that the `indices`
|
||||
|
Loading…
Reference in New Issue
Block a user