Use new cargo fmt
This commit is contained in:
@@ -9,8 +9,8 @@ pub mod gitlab;
|
|||||||
pub use github::Github;
|
pub use github::Github;
|
||||||
pub use gitlab::Gitlab;
|
pub use gitlab::Gitlab;
|
||||||
|
|
||||||
use super::repo;
|
|
||||||
use super::auth;
|
use super::auth;
|
||||||
|
use super::repo;
|
||||||
|
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
|
|
||||||
@@ -166,7 +166,11 @@ pub trait Provider {
|
|||||||
.header("accept", accept_header.unwrap_or("application/json"))
|
.header("accept", accept_header.unwrap_or("application/json"))
|
||||||
.header(
|
.header(
|
||||||
"authorization",
|
"authorization",
|
||||||
format!("{} {}", Self::auth_header_key(), &self.secret_token().access()),
|
format!(
|
||||||
|
"{} {}",
|
||||||
|
Self::auth_header_key(),
|
||||||
|
&self.secret_token().access()
|
||||||
|
),
|
||||||
)
|
)
|
||||||
.body(())
|
.body(())
|
||||||
.map_err(|error| error.to_string())?;
|
.map_err(|error| error.to_string())?;
|
||||||
|
|||||||
Reference in New Issue
Block a user