Skip to content

Commit

Permalink
Fix compilation failure
Browse files Browse the repository at this point in the history
This was the result of a collision between #181 and #178.
  • Loading branch information
cmyr committed May 9, 2020
1 parent fe91344 commit 8f5df91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions piet/src/samples/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! Drawing examples for testing backends
use crate::{Error, ErrorKind, RenderContext};
use crate::{Error, RenderContext};

mod picture_0;
mod picture_1;
Expand Down Expand Up @@ -33,7 +33,7 @@ pub fn draw_test_picture(rc: &mut impl RenderContext, number: usize) -> Result<(
"Don't have test picture {} yet. Why don't you make it?",
number
);
Err(crate::error::new_error(ErrorKind::InvalidInput))
Err(Error::InvalidInput)
}
}
}

0 comments on commit 8f5df91

Please sign in to comment.