Run rustfmt and keep it running on CI (#2023)

Thought we did this awhile back, but looks like we forgot to do so!
This commit is contained in:
Alex Crichton
2020-03-02 11:44:14 -06:00
committed by GitHub
parent 15e9c54a20
commit 381660c49b
14 changed files with 120 additions and 62 deletions

View File

@ -40,10 +40,7 @@ pub async fn run(repo: String) -> Result<JsValue, JsValue> {
let url = format!("https://api.github.com/repos/{}/branches/master", repo);
let request = Request::new_with_str_and_init(
&url,
&opts,
)?;
let request = Request::new_with_str_and_init(&url, &opts)?;
request
.headers()