Clean up warnings
This commit is contained in:
parent
9266387833
commit
b15658dd0c
6
Makefile
6
Makefile
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
});
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue