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

Commitb13052a

Browse files
committed
Fix for Rust 2024 match ergonomics
Fixes an error related tohttps://doc.rust-lang.org/nightly/edition-guide/rust-2024/match-ergonomics.html
1 parent7046518 commitb13052a

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(ref val) => val.encode_format(ty),
958+
&Some(ref val) => val.encode_format(ty),
959959
None =>Format::Binary,
960960
}
961961
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp