use prelude in examples

embedded-hal-1.0
Chris 2018-10-22 16:17:53 +02:00
parent f039b1f6a4
commit e51406b05f
2 changed files with 2 additions and 4 deletions

View File

@ -11,8 +11,7 @@ use eink_waveshare_rs::{
Buffer1in54, Buffer1in54,
}, },
graphics::{Display, DisplayRotation}, graphics::{Display, DisplayRotation},
color::Color, prelude::*,
WaveshareDisplay,
}; };
use lin_hal::spidev::{self, SpidevOptions}; use lin_hal::spidev::{self, SpidevOptions};

View File

@ -11,8 +11,7 @@ use eink_waveshare_rs::{
Buffer4in2, Buffer4in2,
}, },
graphics::{Display, DisplayRotation}, graphics::{Display, DisplayRotation},
color::Color, prelude::*,
WaveshareDisplay,
}; };
extern crate embedded_graphics; extern crate embedded_graphics;