From a6a1949914fb2074fb5fec9c75b075eac369541f Mon Sep 17 00:00:00 2001 From: Katharina Fey Date: Sat, 6 Feb 2021 22:54:28 +0100 Subject: rstnode: create small graphics example --- games/rstnode/rst-core/src/data.rs | 7 +++---- games/rstnode/rst-core/src/lib.rs | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'games/rstnode/rst-core/src') diff --git a/games/rstnode/rst-core/src/data.rs b/games/rstnode/rst-core/src/data.rs index 5ce5517c2b07..c41ec6d77e32 100644 --- a/games/rstnode/rst-core/src/data.rs +++ b/games/rstnode/rst-core/src/data.rs @@ -1,14 +1,13 @@ //! Data structures for the game +#![allow(unused)] + use crate::io::Io; use async_std::sync::Arc; use rand::seq::SliceRandom; use rand::thread_rng; use serde::{Deserialize, Serialize}; -use std::{ - collections::BTreeMap, - sync::atomic::{AtomicBool, AtomicU16, AtomicU32}, -}; +use std::sync::atomic::{AtomicBool, AtomicU16, AtomicU32}; pub type NodeId = usize; diff --git a/games/rstnode/rst-core/src/lib.rs b/games/rstnode/rst-core/src/lib.rs index 36e232f4639c..5ee4e49750c9 100644 --- a/games/rstnode/rst-core/src/lib.rs +++ b/games/rstnode/rst-core/src/lib.rs @@ -1,4 +1,4 @@ -//! # RST Node +//! # RST Node Core //! //! RST Node is a real-time strategy game about computers on a //! network, fighting for dominance against a set of other network -- cgit v1.2.3