Run rustfmt.

This commit is contained in:
Dario Nieuwenhuis 2022-06-12 22:15:44 +02:00
parent 6199bdea71
commit a8703b7598
340 changed files with 1326 additions and 3020 deletions
xtask/src

View file

@ -1,10 +1,9 @@
#![allow(dead_code)]
#![deny(unused_must_use)]
use std::format;
use std::{env, fs, path::PathBuf};
use std::path::{Path, PathBuf};
use std::{env, format, fs};
use std::path::Path;
use walkdir::WalkDir;
use xshell::{cmd, Cmd};
use yaml_rust::YamlLoader;
@ -67,10 +66,7 @@ impl Realm {
fn task_check(realm: Realm) -> Result<(), anyhow::Error> {
let _e = xshell::pushenv("CI", "true");
let matrix_yaml = root_dir()
.join(".github")
.join("workflows")
.join("rust.yml");
let matrix_yaml = root_dir().join(".github").join("workflows").join("rust.yml");
let matrix = YamlLoader::load_from_str(&*fs::read_to_string(matrix_yaml).unwrap()).unwrap();