Fix code to build on CI

This commit is contained in:
Michał Chodzikiewicz 2021-02-17 00:58:28 +01:00
parent 350e5a029a
commit fc9cef9120
2 changed files with 2 additions and 3 deletions

View file

@ -1,5 +1,5 @@
# todo: spin our own image # todo: spin our own image
image: jamwaffles/circleci-embedded-graphics:1.40.0-3 image: registry.gitlab.com/mchodzikiewicz/embedded-plots-docker:latest
stages: stages:
- build - build

View file

@ -3,8 +3,7 @@ use core::ops::{Range};
use crate::range_conv::Scalable; use crate::range_conv::Scalable;
use crate::drawable_curve::DrawableCurve; use crate::drawable_curve::DrawableCurve;
use embedded_graphics::prelude::*; use embedded_graphics::prelude::*;
use itertools::MinMaxResult::MinMax; use itertools::{Itertools, MinMaxResult::MinMax, MinMaxResult};
use itertools::{Itertools, MinMaxResult};
pub struct PlotPoint { pub struct PlotPoint {
pub x: i32, pub x: i32,