Skip to content

Commit 30af4cf

Browse files
committed
Rustfmt
1 parent 39934e6 commit 30af4cf

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/authentication.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ mod test {
2929
let password = b"password";
3030
let salt = [0x2a, 0x3d, 0x8f, 0xe0];
3131

32-
assert_eq!(md5_hash(username, password, salt), "md562af4dd09bbb41884907a838a3233294");
32+
assert_eq!(md5_hash(username, password, salt),
33+
"md562af4dd09bbb41884907a838a3233294");
3334
}
3435
}

src/message/backend/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ pub enum ParseResult<T> {
7575
/// The message.
7676
message: T,
7777
/// The number of bytes of the input buffer consumed to parse this message.
78-
consumed: usize
78+
consumed: usize,
7979
},
8080
/// The buffer did not contain a full message.
8181
Incomplete {

src/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const RANGE_UPPER_UNBOUNDED: u8 = 0b0001_0000;
1111
const RANGE_LOWER_UNBOUNDED: u8 = 0b0000_1000;
1212
const RANGE_UPPER_INCLUSIVE: u8 = 0b0000_0100;
1313
const RANGE_LOWER_INCLUSIVE: u8 = 0b0000_0010;
14-
const RANGE_EMPTY: u8 = 0b0000_0001;
14+
const RANGE_EMPTY: u8 = 0b0000_0001;
1515

1616
/// Serializes a `BOOL` value.
1717
#[inline]

0 commit comments

Comments
 (0)