From fc9cef912089da16eeeacd2e36242d0cc4d55839 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Chodzikiewicz?= Date: Wed, 17 Feb 2021 00:58:28 +0100 Subject: [PATCH] Fix code to build on CI --- .gitlab-ci.yml | 2 +- src/curve.rs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8b197b3..e078438 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,5 @@ # todo: spin our own image -image: jamwaffles/circleci-embedded-graphics:1.40.0-3 +image: registry.gitlab.com/mchodzikiewicz/embedded-plots-docker:latest stages: - build diff --git a/src/curve.rs b/src/curve.rs index a5f58e8..8d32245 100644 --- a/src/curve.rs +++ b/src/curve.rs @@ -3,8 +3,7 @@ use core::ops::{Range}; use crate::range_conv::Scalable; use crate::drawable_curve::DrawableCurve; use embedded_graphics::prelude::*; -use itertools::MinMaxResult::MinMax; -use itertools::{Itertools, MinMaxResult}; +use itertools::{Itertools, MinMaxResult::MinMax, MinMaxResult}; pub struct PlotPoint { pub x: i32,