aboutsummaryrefslogtreecommitdiff
path: root/games/rstnode/rst-client/src/assets.rs
diff options
context:
space:
mode:
Diffstat (limited to 'games/rstnode/rst-client/src/assets.rs')
-rw-r--r--games/rstnode/rst-client/src/assets.rs6
1 files changed, 0 insertions, 6 deletions
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<T> = std::result::Result<T, LoadError>;
-/// 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);