]> git.proxmox.com Git - cargo.git/commitdiff
reformat with rustfmt
authorJoe Ardent <code@ardent.nebcorp.com>
Wed, 7 Jul 2021 06:15:53 +0000 (23:15 -0700)
committerJoe Ardent <code@ardent.nebcorp.com>
Wed, 7 Jul 2021 06:15:53 +0000 (23:15 -0700)
src/cargo/ops/tree/format/mod.rs
src/cargo/ops/tree/format/parse.rs

index da3af891ce0402fe3ad2ba2db79f82db775fcdc5..5dc84b508a60afa4eca09d40ea4f10ace4f81439 100644 (file)
@@ -1,7 +1,9 @@
+use std::fmt;
+
+use anyhow::{bail, Error};
+
 use self::parse::{Parser, RawChunk};
 use super::{Graph, Node};
-use anyhow::{bail, Error};
-use std::fmt;
 
 mod parse;
 
index ee112fbee508a3e2b434dda33901cce089f611cb..f9974ba107a5ca87536db5adef836e1b26047306 100644 (file)
@@ -1,7 +1,6 @@
 //! Parser for the `--format` string for `cargo tree`.
 
-use std::iter;
-use std::str;
+use std::{iter, str};
 
 pub enum RawChunk<'a> {
     /// Raw text to include in the output.