Skip to content

Commit

Permalink
Run rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Jan 8, 2020
1 parent 3a18c89 commit d0430dd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crates/crates-io/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
6 changes: 3 additions & 3 deletions src/cargo/util/errors.rs
Original file line number Diff line number Diff line change
@@ -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<T> = anyhow::Result<T>;

Expand Down

0 comments on commit d0430dd

Please sign in to comment.