Skip to content

chore(bin): import cleanup#193

Open
refcell wants to merge 1 commit intoralexstokes:mainfrom
refcell:refcell/import-cleanup
Open

chore(bin): import cleanup#193
refcell wants to merge 1 commit intoralexstokes:mainfrom
refcell:refcell/import-cleanup

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


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