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
|
cd ifc && make test
|
||||||
|
|
||||||
kifu-core/dev:
|
kifu-core/dev:
|
||||||
cd kifu/kifu-core && make test
|
cd kifu/core && make test
|
||||||
|
|
||||||
kifu-core/test:
|
kifu-core/test:
|
||||||
cd kifu/kifu-core && make test
|
cd kifu/core && make test
|
||||||
|
|
||||||
kifu-core/test-oneshot:
|
kifu-core/test-oneshot:
|
||||||
cd kifu/kifu-core && make test-oneshot
|
cd kifu/core && make test-oneshot
|
||||||
|
|
||||||
kifu-gtk:
|
kifu-gtk:
|
||||||
cd kifu/gtk && make release
|
cd kifu/gtk && make release
|
||||||
|
|
|
@ -55,7 +55,7 @@ impl AppState {
|
||||||
pub fn place_stone(&mut self, req: PlayStoneRequest) {
|
pub fn place_stone(&mut self, req: PlayStoneRequest) {
|
||||||
match self.game {
|
match self.game {
|
||||||
Some(ref mut game) => {
|
Some(ref mut game) => {
|
||||||
game.place_stone(Coordinate {
|
let _ = game.place_stone(Coordinate {
|
||||||
column: req.column,
|
column: req.column,
|
||||||
row: req.row,
|
row: req.row,
|
||||||
});
|
});
|
||||||
|
|
|
@ -5,13 +5,7 @@ use crate::{
|
||||||
};
|
};
|
||||||
use glib::Object;
|
use glib::Object;
|
||||||
use gtk::{prelude::*, subclass::prelude::*};
|
use gtk::{prelude::*, subclass::prelude::*};
|
||||||
use kifu_core::{
|
use kifu_core::ui::PlayingFieldView;
|
||||||
ui::{
|
|
||||||
BoardElement, ChatElement, IntersectionElement, PlayerCardElement, PlayingFieldView,
|
|
||||||
StoneElement, TextFieldElement,
|
|
||||||
},
|
|
||||||
Color, CoreApp, Size,
|
|
||||||
};
|
|
||||||
use std::{cell::RefCell, rc::Rc};
|
use std::{cell::RefCell, rc::Rc};
|
||||||
|
|
||||||
pub struct PlayingFieldPrivate {
|
pub struct PlayingFieldPrivate {
|
||||||
|
|
Loading…
Reference in New Issue