Clean up warnings

This commit is contained in:
Savanni D'Gerinel 2023-06-16 09:03:17 -04:00
parent 9266387833
commit b15658dd0c
3 changed files with 5 additions and 11 deletions

View File

@ -36,13 +36,13 @@ ifc-test:
cd ifc && make test
kifu-core/dev:
cd kifu/kifu-core && make test
cd kifu/core && make test
kifu-core/test:
cd kifu/kifu-core && make test
cd kifu/core && make test
kifu-core/test-oneshot:
cd kifu/kifu-core && make test-oneshot
cd kifu/core && make test-oneshot
kifu-gtk:
cd kifu/gtk && make release

View File

@ -55,7 +55,7 @@ impl AppState {
pub fn place_stone(&mut self, req: PlayStoneRequest) {
match self.game {
Some(ref mut game) => {
game.place_stone(Coordinate {
let _ = game.place_stone(Coordinate {
column: req.column,
row: req.row,
});

View File

@ -5,13 +5,7 @@ use crate::{
};
use glib::Object;
use gtk::{prelude::*, subclass::prelude::*};
use kifu_core::{
ui::{
BoardElement, ChatElement, IntersectionElement, PlayerCardElement, PlayingFieldView,
StoneElement, TextFieldElement,
},
Color, CoreApp, Size,
};
use kifu_core::ui::PlayingFieldView;
use std::{cell::RefCell, rc::Rc};
pub struct PlayingFieldPrivate {