Skip to content

Commit c6ae242

Browse files
NeutroniSiegeLord
authored andcommitted
Revert redundant field names lint change and allow remaining lint warnings
1 parent 8f259b9 commit c6ae242

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

gnuplot/src/axes2d.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -895,6 +895,7 @@ impl Axes2D
895895
/// * `BorderColor` - Sets the color of the border
896896
/// * `Color` - Sets the color of the box fill
897897
/// * `FillAlpha` - Sets the transparency of the box fill
898+
#[allow(clippy::too_many_arguments)]
898899
pub fn box_xy_error_low_high<
899900
'l,
900901
Tx: DataType,

gnuplot/src/axes_common.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1088,6 +1088,7 @@ pub struct Size
10881088
h: f64,
10891089
}
10901090

1091+
#[allow(clippy::type_complexity)]
10911092
pub struct AxesCommonData
10921093
{
10931094
pub grid_options: Vec<PlotOption<String>>,

gnuplot/src/figure.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ impl Figure
160160
pub fn new() -> Figure
161161
{
162162
let data_tempdir = tempfile::tempdir().ok();
163+
#[allow(clippy::redundant_field_names)]
163164
Figure {
164165
axes: Vec::new(),
165166
terminal: "".into(),
@@ -174,7 +175,7 @@ impl Figure
174175
.as_ref()
175176
.and_then(|d| d.path().to_str())
176177
.map(|s| s.into()),
177-
data_tempdir,
178+
data_tempdir: data_tempdir,
178179
}
179180
}
180181

0 commit comments

Comments
 (0)