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:
parent
ed90a1487d
commit
8e38f34b6d
@ -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)
|
||||
|
@ -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!();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user