mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-03-19 22:19:29 +02:00
build(deps): bump crate-ci/typos from 1.24.6 to 1.26.8 (#2451)
Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.24.6 to 1.26.8.
This commit is contained in:
parent
f8882190f3
commit
5a57631911
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -37,7 +37,7 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Check for typos
|
- name: Check for typos
|
||||||
uses: crate-ci/typos@v1.24.6
|
uses: crate-ci/typos@v1.26.8
|
||||||
with:
|
with:
|
||||||
config: ./.github/typos.toml
|
config: ./.github/typos.toml
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ fn duplicate<T: Clone>(a: T) -> (T, T) {
|
|||||||
(a.clone(), a.clone())
|
(a.clone(), a.clone())
|
||||||
}
|
}
|
||||||
|
|
||||||
// struct NotClonable;
|
// struct NotCloneable;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let foo = String::from("foo");
|
let foo = String::from("foo");
|
||||||
@ -25,7 +25,7 @@ fn main() {
|
|||||||
|
|
||||||
<details>
|
<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.
|
- When multiple traits are necessary, use `+` to join them.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user