Skip to content

Commit 002c67e

Browse files
committed
Fix some clippy warnings
1 parent 2f445b2 commit 002c67e

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
echo "DATABASE_URL=/tmp/test.db" >> $GITHUB_ENV
101101
102102
- name: Install postgres (MacOS)
103-
if: matrix.os == 'macos-latest' && matrix.backend == 'postgres'
103+
if: matrix.os == 'macos-13' && matrix.backend == 'postgres'
104104
run: |
105105
initdb -D /usr/local/var/postgres
106106
pg_ctl -D /usr/local/var/postgres start
@@ -123,7 +123,7 @@ jobs:
123123
echo "DATABASE_URL=/tmp/test.db" >> $GITHUB_ENV
124124
125125
- name: Install mysql (MacOS)
126-
if: matrix.os == 'macos-latest' && matrix.backend == 'mysql'
126+
if: matrix.os == 'macos-13' && matrix.backend == 'mysql'
127127
run: |
128128
brew install mariadb@11.3
129129
/usr/local/opt/mariadb@11.3/bin/mysql_install_db

examples/sync-wrapper/src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ table! {
1414
}
1515
}
1616

17+
#[allow(dead_code)]
1718
#[derive(Debug, Queryable, Selectable)]
1819
#[diesel(table_name = users)]
1920
struct User {

src/sync_connection_wrapper.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,7 @@ where
134134
.boxed()
135135
}
136136

137-
fn execute_returning_count<'conn, 'query, T>(
138-
&'conn mut self,
139-
source: T,
140-
) -> Self::ExecuteFuture<'conn, 'query>
137+
fn execute_returning_count<'query, T>(&mut self, source: T) -> Self::ExecuteFuture<'_, 'query>
141138
where
142139
T: QueryFragment<Self::Backend> + QueryId,
143140
{

0 commit comments

Comments
 (0)