mirror of https://github.com/fafhrd91/actix-web
Cargo fmt
This commit is contained in:
parent
f828f8f75a
commit
58fd9e149e
|
@ -238,7 +238,10 @@ impl WebsocketsRequest {
|
|||
Some(password) => format!("{}:{}", username, password),
|
||||
None => format!("{}:", username),
|
||||
};
|
||||
self.header(AUTHORIZATION, format!("Basic {}", BASE64_STANDARD.encode(auth)))
|
||||
self.header(
|
||||
AUTHORIZATION,
|
||||
format!("Basic {}", BASE64_STANDARD.encode(auth)),
|
||||
)
|
||||
}
|
||||
|
||||
/// Set HTTP bearer authentication header
|
||||
|
|
Loading…
Reference in New Issue