Skip to content

Commit 28ac8ad

Browse files
authored
ci: Bump rust toolchain to 1.83 (#78)
2 parents f2ab984 + e813ca3 commit 28ac8ad

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/ci.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- uses: actions/checkout@v4
1919
- uses: dtolnay/rust-toolchain@master # avoid the tag here to prevent dependabot from updating it
2020
with:
21-
toolchain: "1.70"
21+
toolchain: "1.83"
2222
- run: cargo check --all-targets --all-features
2323

2424
fmt:
@@ -28,7 +28,7 @@ jobs:
2828
- uses: actions/checkout@v4
2929
- uses: dtolnay/rust-toolchain@master # avoid the tag here to prevent dependabot from updating it
3030
with:
31-
toolchain: "1.70"
31+
toolchain: "1.83"
3232
components: rustfmt
3333
- run: cargo fmt --all --check
3434

@@ -39,7 +39,7 @@ jobs:
3939
- uses: actions/checkout@v4
4040
- uses: dtolnay/rust-toolchain@master # avoid the tag here to prevent dependabot from updating it
4141
with:
42-
toolchain: "1.70"
42+
toolchain: "1.83"
4343
- run: cargo test --all-targets --all-features
4444

4545
clippy:
@@ -49,7 +49,7 @@ jobs:
4949
- uses: actions/checkout@v4
5050
- uses: dtolnay/rust-toolchain@master # avoid the tag here to prevent dependabot from updating it
5151
with:
52-
toolchain: "1.70"
52+
toolchain: "1.83"
5353
components: clippy
5454
- run: cargo clippy --all-targets --all-features -- -D warnings
5555

src/throttled.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ struct PermitDebug<'a> {
2929
}
3030

3131
#[cfg(debug_assertions)]
32-
impl<'a> Drop for PermitDebug<'a> {
32+
impl Drop for PermitDebug<'_> {
3333
fn drop(&mut self) {
3434
match self.start {
3535
Some(start) => {
@@ -275,21 +275,21 @@ impl<'a, T> Throttled<'a, T> {
275275
}
276276
}
277277

278-
impl<'a, T> core::ops::Deref for Throttled<'a, T> {
278+
impl<T> core::ops::Deref for Throttled<'_, T> {
279279
type Target = T;
280280

281281
fn deref(&self) -> &T {
282282
&self.inner
283283
}
284284
}
285285

286-
impl<'a, T> core::ops::DerefMut for Throttled<'a, T> {
286+
impl<T> core::ops::DerefMut for Throttled<'_, T> {
287287
fn deref_mut(&mut self) -> &mut T {
288288
&mut self.inner
289289
}
290290
}
291291

292-
impl<'a, T> futures::stream::Stream for Throttled<'a, T>
292+
impl<T> futures::stream::Stream for Throttled<'_, T>
293293
where
294294
T: futures::stream::Stream + Unpin,
295295
{

0 commit comments

Comments
 (0)