Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit80adf04

Browse files
committed
allowBorrowToSql for non-staticBox<dyn ToSql>
1 parent8b9b5d0 commit80adf04

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎postgres-types/src/lib.rs‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1178,17 +1178,17 @@ impl BorrowToSql for &dyn ToSql {
11781178
}
11791179
}
11801180

1181-
impl sealed::SealedforBox<dynToSql +Sync>{}
1181+
impl<'a> sealed::SealedforBox<dynToSql +Sync +'a>{}
11821182

1183-
implBorrowToSqlforBox<dynToSql +Sync>{
1183+
impl<'a>BorrowToSqlforBox<dynToSql +Sync +'a>{
11841184
#[inline]
11851185
fnborrow_to_sql(&self) ->&dynToSql{
11861186
self.as_ref()
11871187
}
11881188
}
11891189

1190-
impl sealed::SealedforBox<dynToSql +Sync +Send>{}
1191-
implBorrowToSqlforBox<dynToSql +Sync +Send>{
1190+
impl<'a> sealed::SealedforBox<dynToSql +Sync +Send +'a>{}
1191+
impl<'a>BorrowToSqlforBox<dynToSql +Sync +Send +'a>{
11921192
#[inline]
11931193
fnborrow_to_sql(&self) ->&dynToSql{
11941194
self.as_ref()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp