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

Commit7490e51

Browse files
committed
Fix clippy needless_borrowed_reference
The applied suggestion for 2024 match ergonomics trips another lint.This fixes the lint.
1 parent4d03ed8 commit7490e51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎postgres-types/src/lib.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -955,7 +955,7 @@ impl<T: ToSql> ToSql for Option<T> {
955955

956956
fnencode_format(&self,ty:&Type) ->Format{
957957
matchself{
958-
&Some(refval) => val.encode_format(ty),
958+
Some(val) => val.encode_format(ty),
959959
None =>Format::Binary,
960960
}
961961
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp