Skip to content
This repository has been archived by the owner on Jun 7, 2022. It is now read-only.

Commit

Permalink
fmt: formatting imports
Browse files Browse the repository at this point in the history
Heavily inspired by discussion here: rust-lang/style-team#24 .
  • Loading branch information
kgadek committed Jun 30, 2018
1 parent 049794b commit cb96845
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ use std::collections::hash_map::RandomState;
use std::collections::HashMap;
use std::collections::HashSet;

use failure::Error;
use regex::Regex;

use bitbucket::ActivityItem;
use bitbucket::Approval;
use bitbucket::PullRequest;

use failure::Error;
use regex::Regex;

#[derive(Debug)]
pub struct RepositoryURLs {
pub api_url: String,
Expand Down
13 changes: 7 additions & 6 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@ extern crate slog_bunyan;
extern crate structopt;
extern crate itertools;

use gatekeeper::bitbucket::values_from_all_pages;
use gatekeeper::bitbucket::ActivityItem;
use gatekeeper::bitbucket::BitBucketApiBasicAuth;
use gatekeeper::bitbucket::PullRequest;
use gatekeeper::PullRequestState;
use gatekeeper::RepositoryURLs;
use std::fs::OpenOptions;

use failure::Error;
Expand All @@ -29,6 +23,13 @@ use slog::Drain;
use slog::FnValue;
use structopt::StructOpt;

use gatekeeper::bitbucket::values_from_all_pages;
use gatekeeper::bitbucket::ActivityItem;
use gatekeeper::bitbucket::BitBucketApiBasicAuth;
use gatekeeper::bitbucket::PullRequest;
use gatekeeper::PullRequestState;
use gatekeeper::RepositoryURLs;

#[derive(StructOpt, Debug)]
#[structopt()]
struct Opt {
Expand Down

0 comments on commit cb96845

Please sign in to comment.