Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(bin): import cleanup #193

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

refcell
Copy link

@refcell refcell commented Nov 10, 2023

Description

Performs small import cleanups.

Copy link
Owner

@ralexstokes ralexstokes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for this! see comments, I like some of this and generally don't do other parts of it

@@ -31,7 +30,7 @@ impl Command {
let config = Config::from_toml_file(config_file)?;

let network = config.network;
info!("configured for `{network}`");
tracing::info!("configured for `{network}`");
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

generally prefer to import things so there is just a single term at the use site

@@ -1,7 +1,8 @@
pub mod config;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like putting the conditional stuff in its own group

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants