Skip to content

Commit

Permalink
make clippy happy
Browse files Browse the repository at this point in the history
Signed-off-by: Andrei Gherghescu <[email protected]>
  • Loading branch information
andrei-ng committed Apr 29, 2024
1 parent 9ff00e6 commit 3008e64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/statistical_charts/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ fn fully_styled_box_plot() {
v
};

let x_data = vec![
let x_data = [
"Carmelo<br>Anthony",
"Dwyane<br>Wade",
"Deron<br>Williams",
Expand Down
2 changes: 1 addition & 1 deletion plotly_kaleido/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ impl Kaleido {
}

let output_lines = BufReader::new(process.stdout.unwrap()).lines();
for line in output_lines.flatten() {
for line in output_lines.map_while(Result::ok) {
let res = KaleidoResult::from(line.as_str());
if let Some(image_data) = res.result {
let data: Vec<u8> = match format {
Expand Down

0 comments on commit 3008e64

Please sign in to comment.