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

fix: Optimized file Update build.rs #3137

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

Conversation

mdqst
Copy link
Contributor

@mdqst mdqst commented Jan 15, 2025

Motivation

I noticed that using format! was unnecessary since display() already returns an object that can be passed directly to File::create.

I simplified and optimized the code to remove this redundancy.

format! was unnecessary since display() already returns an object that can be passed directly to File::create

Signed-off-by: Dmitry <[email protected]>
Copy link
Contributor

@ma2bd ma2bd left a comment

Choose a reason for hiding this comment

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

This doesn't look correct actually. (Remove .display())

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