Skip to content

Commit d0430dd

Browse files
committed
Run rustfmt
1 parent 3a18c89 commit d0430dd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

crates/crates-io/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ use std::io::prelude::*;
77
use std::io::Cursor;
88
use std::time::Instant;
99

10-
use curl::easy::{Easy, List};
1110
use anyhow::{bail, Result};
11+
use curl::easy::{Easy, List};
1212
use percent_encoding::{percent_encode, NON_ALPHANUMERIC};
1313
use serde::{Deserialize, Serialize};
1414
use serde_json;

src/cargo/util/errors.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#![allow(unknown_lints)]
22

3+
use crate::core::{TargetKind, Workspace};
4+
use crate::ops::CompileOptions;
5+
use anyhow::Error;
36
use std::fmt;
47
use std::path::PathBuf;
58
use std::process::{ExitStatus, Output};
69
use std::str;
7-
use anyhow::Error;
8-
use crate::core::{TargetKind, Workspace};
9-
use crate::ops::CompileOptions;
1010

1111
pub type CargoResult<T> = anyhow::Result<T>;
1212

0 commit comments

Comments
 (0)