From 0472f0fb50ffb945c83d662cd21b994562bee12d Mon Sep 17 00:00:00 2001 From: Katharina Fey Date: Sun, 7 Feb 2021 21:12:22 +0100 Subject: rstnode: some client cleanups and better colour handling --- games/rstnode/rst-client/src/assets.rs | 6 ------ 1 file changed, 6 deletions(-) (limited to 'games/rstnode/rst-client/src/assets.rs') diff --git a/games/rstnode/rst-client/src/assets.rs b/games/rstnode/rst-client/src/assets.rs index d1ccdaf875ed..76556213fc70 100644 --- a/games/rstnode/rst-client/src/assets.rs +++ b/games/rstnode/rst-client/src/assets.rs @@ -4,7 +4,6 @@ use ggez::graphics::Image; use librsvg::{CairoRenderer, Loader}; use std::{ collections::BTreeMap, - error::Error, ffi::OsStr, fs::{read_dir, File}, io::BufWriter, @@ -15,11 +14,6 @@ use tempfile::tempdir; pub type Result = std::result::Result; -/// Construct a `node` prefixed URI -pub fn node(tt: &str) -> URI { - ("node/".to_owned() + tt).into() -} - #[derive(Clone, Debug, Eq, PartialEq, Ord, PartialOrd)] pub struct URI(String, String); -- cgit v1.2.3