Skip to content

Commit

Permalink
Elide some leftover impl lifetimes after PR canselcik#90
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre Fenoll <pierrefenoll@gmail.com>
  • Loading branch information
fenollp committed Jan 14, 2022
1 parent da9fe2e commit dd1b1f3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/framebuffer/draw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub static DEFAULT_FONT: Lazy<Font<'static>> = Lazy::new(|| {
.expect("corrupted font data")
});

impl<'a> framebuffer::FramebufferDraw for core::Framebuffer {
impl framebuffer::FramebufferDraw for core::Framebuffer {
fn draw_image(&mut self, img: &RgbImage, pos: Point2<i32>) -> mxcfb_rect {
for (x, y, pixel) in img.enumerate_pixels() {
let pixel_pos = pos + vec2(x as i32, y as i32);
Expand Down
2 changes: 1 addition & 1 deletion src/framebuffer/io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use crate::framebuffer;
use crate::framebuffer::cgmath;
use crate::framebuffer::common;

impl<'a> framebuffer::FramebufferIO for framebuffer::core::Framebuffer {
impl framebuffer::FramebufferIO for framebuffer::core::Framebuffer {
fn write_frame(&mut self, frame: &[u8]) {
let begin = self.frame.as_mut_ptr();
unsafe {
Expand Down
2 changes: 1 addition & 1 deletion src/framebuffer/refresh.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub enum PartialRefreshMode {
Wait,
}

impl<'a> framebuffer::FramebufferRefresh for core::Framebuffer {
impl framebuffer::FramebufferRefresh for core::Framebuffer {
fn full_refresh(
&self,
waveform_mode: common::waveform_mode,
Expand Down

0 comments on commit dd1b1f3

Please sign in to comment.