Skip to content

Commit

Permalink
Imports granularity (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevgo authored Apr 9, 2024
1 parent bf0ea5a commit a80b011
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions rustfmt.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
group_imports = "One"
imports_granularity = "Module"
tab_spaces = 2
3 changes: 1 addition & 2 deletions src/helpers/github.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ use reqwest::header::{self, HeaderMap};
use reqwest::StatusCode;
use serde::de::DeserializeOwned;
use serde::Deserialize;
use std::env;
use std::io;
use std::io::Write;
use std::{env, io};

static USER_AGENT: &str = concat!(env!("CARGO_PKG_NAME"), "/", env!("CARGO_PKG_VERSION"),);
static LINK_RE: Lazy<Regex> = Lazy::new(|| Regex::new(r#"<([^>]+)>; rel="next""#).unwrap());
Expand Down
3 changes: 1 addition & 2 deletions tests/cucumber.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
use cucumber::gherkin::Step;
use cucumber::{given, then, when, World};
use std::env;
use std::path::PathBuf;
use std::process::Output;
use std::str;
use std::{env, str};
use tokio::fs;
use tokio::process::Command;

Expand Down

0 comments on commit a80b011

Please sign in to comment.