1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-10 15:04:32 +03:00

fix a couple of warnings

This commit is contained in:
Wez Furlong 2019-09-22 21:02:02 -07:00
parent ed90a1487d
commit 8e38f34b6d
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ pub struct SoftwareFrontEnd {
}
impl SoftwareFrontEnd {
pub fn try_new(mux: &Rc<Mux>) -> Fallible<Rc<dyn FrontEnd>> {
pub fn try_new(_mux: &Rc<Mux>) -> Fallible<Rc<dyn FrontEnd>> {
let connection = Connection::init()?;
let front_end = Rc::new(SoftwareFrontEnd { connection });
Ok(front_end)

View File

@ -354,7 +354,7 @@ impl Texture2d for ImageTexture {
image.draw_image(rect.origin, None, im, Operator::Source);
}
fn read(&self, rect: Rect, im: &mut dyn BitmapImage) {
fn read(&self, _rect: Rect, _im: &mut dyn BitmapImage) {
unimplemented!();
}