Skip to content

Commit

Permalink
Fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
sile committed Aug 16, 2022
1 parent 3c25f34 commit e65ae59
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions kurobako_problems/src/sigopt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//! If you want to use an unimplemented function, please create an issue or PR.
//!
//! [sigopt/evalset]: https://github.com/sigopt/evalset
#![allow(clippy::format_push_string)]
use self::functions::TestFunction;
use kurobako_core::domain;
use kurobako_core::problem::{
Expand Down
2 changes: 1 addition & 1 deletion src/markdown.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ impl<'a, W: Write> MarkdownWriter<'a, W> {
}

pub fn inner_mut(&mut self) -> &mut W {
&mut self.writer
self.writer
}

pub fn newline(&mut self) -> Result<()> {
Expand Down
1 change: 1 addition & 0 deletions src/plot/curve.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//! `kurobako plot curve` command.
#![allow(clippy::format_push_string)]
use super::{execute_gnuplot, normalize_filename};
use crate::record::{ProblemRecord, StudyRecord};
use indicatif::{ProgressBar, ProgressStyle};
Expand Down
1 change: 1 addition & 0 deletions src/plot/pareto_front.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//! `kurobako plot pareto-front` command.
#![allow(clippy::format_push_string)]
use super::{execute_gnuplot, normalize_filename};
use crate::record::StudyRecord;
use indicatif::{ProgressBar, ProgressStyle};
Expand Down
1 change: 1 addition & 0 deletions src/plot/slice.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//! `kurobako plot slice` command.
#![allow(clippy::format_push_string)]
use super::{execute_gnuplot, normalize_filename};
use crate::record::StudyRecord;
use indicatif::{ProgressBar, ProgressStyle};
Expand Down

0 comments on commit e65ae59

Please sign in to comment.