diff options
author | Dario Nieuwenhuis <dirbaio@dirbaio.net> | 2022-06-12 22:15:44 +0200 |
---|---|---|
committer | Dario Nieuwenhuis <dirbaio@dirbaio.net> | 2022-06-12 22:22:31 +0200 |
commit | a8703b75988e1e700af701116464025679d2feb8 (patch) | |
tree | f4ec5de70ec05e793a774049e010935ac45853ed /xtask | |
parent | 6199bdea710cde33e5d5381b6d6abfc8af46df19 (diff) | |
download | embassy-a8703b75988e1e700af701116464025679d2feb8.zip |
Run rustfmt.
Diffstat (limited to 'xtask')
-rw-r--r-- | xtask/src/main.rs | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/xtask/src/main.rs b/xtask/src/main.rs index d8d5e07d..b8b453fd 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -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(); |