Skip to content

Commit 54701b8

Browse files
committed
Remove some usize
1 parent 7cfde75 commit 54701b8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/error.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -456,11 +456,11 @@ impl error::FromError<SslError> for ConnectError {
456456
#[derive(Clone, PartialEq, Eq, Debug)]
457457
pub enum ErrorPosition {
458458
/// A position in the original query
459-
Normal(usize),
459+
Normal(u32),
460460
/// A position in an internally generated query
461461
Internal {
462462
/// The byte position
463-
position: usize,
463+
position: u32,
464464
/// A query generated by the Postgres server
465465
query: String
466466
}

0 commit comments

Comments
 (0)