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 clippy warnings #48

Merged
merged 3 commits into from
Aug 16, 2022
Merged

Fix clippy warnings #48

merged 3 commits into from
Aug 16, 2022

Conversation

sile
Copy link
Member

@sile sile commented Aug 16, 2022

The latest clippy emits warnings about kurobako's code. This PR fixes them.

@@ -1,4 +1,5 @@
//! `kurobako plot curve` command.
#![allow(clippy::format_push_string)]
Copy link
Member Author

Choose a reason for hiding this comment

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

Clippy says "String += format!() shoud be replaced with write!()". However, this replacement isn't trivial and there is no performance problem relating to this point in the current code. So, I decided to just ignore this check.

@sile sile mentioned this pull request Aug 16, 2022
@coveralls
Copy link

Pull Request Test Coverage Report for Build 2867271532

  • 0 of 5 (0.0%) changed or added relevant lines in 3 files are covered.
  • 5 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+0.02%) to 9.526%

Changes Missing Coverage Covered Lines Changed/Added Lines %
kurobako_core/src/rng.rs 0 1 0.0%
src/markdown.rs 0 1 0.0%
kurobako_core/src/trial.rs 0 3 0.0%
Files with Coverage Reduction New Missed Lines %
../../../.cargo/registry/src/github.com-1ecc6299db9ec823/trackable-0.2.23/src/macros.rs 5 0%
Totals Coverage Status
Change from base Build 2668460033: 0.02%
Covered Lines: 1092
Relevant Lines: 11463

💛 - Coveralls

@sile sile merged commit 83ae97e into master Aug 16, 2022
@sile sile deleted the fix-lint-errors branch August 16, 2022 13:20
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.

None yet

2 participants