Skip to content

Commit

Permalink
u
Browse files Browse the repository at this point in the history
  • Loading branch information
ibigbug committed Oct 11, 2024
1 parent fce0fb2 commit 32ded84
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ jobs:
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain || 'nightly-2024-09-20' }} # until https://github.com/rust-lang/rust-clippy/issues/13457
toolchain: ${{ matrix.toolchain || 'nightly' }}
target: ${{ matrix.target }}
components: ${{ matrix.components || 'rustfmt, clippy' }}

Expand Down
2 changes: 1 addition & 1 deletion clash_lib/src/app/logging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ pub fn setup_logging(

struct EventVisitor<'a>(&'a mut Vec<String>);

impl<'a> tracing::field::Visit for EventVisitor<'a> {
impl tracing::field::Visit for EventVisitor<'_> {
fn record_bool(&mut self, field: &tracing::field::Field, value: bool) {
println!("bool {} = {}", field.name(), value);
}
Expand Down
2 changes: 1 addition & 1 deletion clash_lib/src/common/io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ struct CopyBidirectional<'a, A: ?Sized, B: ?Sized> {
b_to_a_timeout_duration: Duration,
}

impl<'a, A, B> Future for CopyBidirectional<'a, A, B>
impl<A, B> Future for CopyBidirectional<'_, A, B>
where
A: AsyncRead + AsyncWrite + Unpin + ?Sized,
B: AsyncRead + AsyncWrite + Unpin + ?Sized,
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[toolchain]
channel = "nightly-2024-09-20" # until https://github.com/rust-lang/rust-clippy/issues/13457
channel = "nightly" # until https://github.com/rust-lang/rust-clippy/issues/13457

0 comments on commit 32ded84

Please sign in to comment.