Skip to content

Commit b6a7fb5

Browse files
authored
Merge pull request #340 from cipherstash/rust-1.92
PR_BYPASS - minor formatting fix due to rust update
2 parents e940260 + cfffb77 commit b6a7fb5

File tree

1 file changed

+1
-1
lines changed
  • packages/cipherstash-proxy/src/postgresql/messages

1 file changed

+1
-1
lines changed

packages/cipherstash-proxy/src/postgresql/messages/bind.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ fn get_param_type(idx: usize, param_types: &[i32], col: &Column) -> Type {
104104
param_types
105105
.get(idx)
106106
.and_then(|oid| Type::from_oid(*oid as u32))
107-
.map_or_else(|| col.postgres_type.clone(), |t| t)
107+
.unwrap_or_else(|| col.postgres_type.clone())
108108
}
109109

110110
impl BindParam {

0 commit comments

Comments
 (0)