Skip to content

Commit 1ca16cd

Browse files
Clippy
1 parent d1a89d3 commit 1ca16cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

etl/src/replication/client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@ impl PgReplicationClient {
755755
let version_components: Vec<&str> = version_part.split('.').collect();
756756

757757
let major = version_components
758-
.get(0)
758+
.first()
759759
.and_then(|v| v.parse::<i32>().ok())
760760
.unwrap_or(0);
761761
let minor = version_components

0 commit comments

Comments
 (0)