Skip to content

Commit 72b3e40

Browse files
committed
fix doc test
1 parent 13747d2 commit 72b3e40

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ plotters="0.3"
3939

4040
First, import `Chart` and `ChartWidget`:
4141

42-
```rust
42+
```rust,ignore
4343
use plotters_iced::{Chart, ChartWidget, DrawingBackend, ChartBuilder};
4444
```
4545

4646
Then, derive `Chart` trait and build your chart, and let `plotters-iced` takes care the rest:
4747

48-
```rust
48+
```rust,ignore
4949
struct MyChart;
5050
impl Chart<Message> for MyChart {
5151
type State = ();
@@ -57,7 +57,7 @@ impl Chart<Message> for MyChart {
5757

5858
Finally, render your chart view:
5959

60-
```rust
60+
```rust,ignore
6161
impl MyChart {
6262
fn view(&mut self)->Element<Message> {
6363
ChartWidget::new(self)

0 commit comments

Comments
 (0)