Skip to content

Commit 6b958eb

Browse files
committed
fix clippy warning on unsued type
- apply target configuration to StaticPlotTemplate Signed-off-by: Andrei Gherghescu <[email protected]>
1 parent 94f8016 commit 6b958eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: plotly/src/plot.rs

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ struct PlotTemplate<'a> {
2020

2121
#[derive(Template)]
2222
#[template(path = "static_plot.html", escape = "none")]
23+
#[cfg(not(target_family = "wasm"))]
2324
struct StaticPlotTemplate<'a> {
2425
plot: &'a Plot,
2526
format: ImageFormat,

0 commit comments

Comments
 (0)