diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index add07d89..5ef14eb5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,7 +37,7 @@ jobs: uses: actions/checkout@v4 - name: Check for typos - uses: crate-ci/typos@v1.24.6 + uses: crate-ci/typos@v1.26.8 with: config: ./.github/typos.toml diff --git a/src/generics/trait-bounds.md b/src/generics/trait-bounds.md index 0dd5e295..904f0f40 100644 --- a/src/generics/trait-bounds.md +++ b/src/generics/trait-bounds.md @@ -14,7 +14,7 @@ fn duplicate<T: Clone>(a: T) -> (T, T) { (a.clone(), a.clone()) } -// struct NotClonable; +// struct NotCloneable; fn main() { let foo = String::from("foo"); @@ -25,7 +25,7 @@ fn main() { <details> -- Try making a `NonClonable` and passing it to `duplicate`. +- Try making a `NonCloneable` and passing it to `duplicate`. - When multiple traits are necessary, use `+` to join them.