Skip to content

Commit 311ee45

Browse files
author
Thomas Bahn
committed
Format code using rustfmt
1 parent 18e31c1 commit 311ee45

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/client.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ use error::{Error, Field, Kind};
1111
use utils::{find_proofs, hash_password};
1212
use NONCE_LENGTH;
1313

14-
#[deprecated(since = "0.2.0", note = "Please use `ScramClient` instead. (exported at crate root)")]
14+
#[deprecated(
15+
since = "0.2.0",
16+
note = "Please use `ScramClient` instead. (exported at crate root)"
17+
)]
1518
pub type ClientFirst<'a> = ScramClient<'a>;
1619

1720
/// Parses a `server_first_message` returning a (none, salt, iterations) tuple if successful.

src/server.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,8 @@ impl<'a, P: AuthenticationProvider> ServerFirst<'a, P> {
202202
nonce,
203203
base64::encode(self.password_info.salt.as_slice()),
204204
self.password_info.iterations
205-
).into();
205+
)
206+
.into();
206207
(
207208
ClientFinal {
208209
hashed_password: self.password_info.hashed_password,

0 commit comments

Comments
 (0)