From d0430dd2b11e6ac004e8f39a712ee6425b81e12d Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 7 Jan 2020 19:58:45 -0800 Subject: [PATCH] Run rustfmt --- crates/crates-io/lib.rs | 2 +- src/cargo/util/errors.rs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/crates-io/lib.rs b/crates/crates-io/lib.rs index d0f59c96cd1..becd02af8d8 100644 --- a/crates/crates-io/lib.rs +++ b/crates/crates-io/lib.rs @@ -7,8 +7,8 @@ use std::io::prelude::*; use std::io::Cursor; use std::time::Instant; -use curl::easy::{Easy, List}; use anyhow::{bail, Result}; +use curl::easy::{Easy, List}; use percent_encoding::{percent_encode, NON_ALPHANUMERIC}; use serde::{Deserialize, Serialize}; use serde_json; diff --git a/src/cargo/util/errors.rs b/src/cargo/util/errors.rs index 0da77512be4..c6ccfb34f2f 100644 --- a/src/cargo/util/errors.rs +++ b/src/cargo/util/errors.rs @@ -1,12 +1,12 @@ #![allow(unknown_lints)] +use crate::core::{TargetKind, Workspace}; +use crate::ops::CompileOptions; +use anyhow::Error; use std::fmt; use std::path::PathBuf; use std::process::{ExitStatus, Output}; use std::str; -use anyhow::Error; -use crate::core::{TargetKind, Workspace}; -use crate::ops::CompileOptions; pub type CargoResult = anyhow::Result;