Skip to content

Commit

Permalink
style: Restore prelude wildcard
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Apr 26, 2024
1 parent e229852 commit b53bf3a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion crates/anstream/examples/dump-stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ enum Layer {

impl Args {
fn parse() -> Result<Self, lexopt::Error> {
#[allow(clippy::wildcard_imports)] // false positive
use lexopt::prelude::*;

let mut res = Args::default();
Expand Down
2 changes: 1 addition & 1 deletion crates/anstyle-wincon/examples/dump-wincon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ enum Layer {

impl Args {
fn parse() -> Result<Self, lexopt::Error> {
use lexopt::prelude::{Long, ValueExt};
use lexopt::prelude::*;

let mut res = Args::default();

Expand Down
2 changes: 1 addition & 1 deletion crates/anstyle-wincon/examples/set-wincon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ struct Args {

impl Args {
fn parse() -> Result<Self, lexopt::Error> {
use lexopt::prelude::{Long, ValueExt};
use lexopt::prelude::*;

let mut res = Args::default();

Expand Down
2 changes: 1 addition & 1 deletion crates/anstyle/examples/dump-style.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ enum Layer {

impl Args {
fn parse() -> Result<Self, lexopt::Error> {
use lexopt::prelude::{Long, ValueExt};
use lexopt::prelude::*;

let mut res = Args::default();

Expand Down

0 comments on commit b53bf3a

Please sign in to comment.