summaryrefslogtreecommitdiff
path: root/systems/_asset/src
diff options
context:
space:
mode:
Diffstat (limited to 'systems/_asset/src')
-rw-r--r--systems/_asset/src/rw.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/systems/_asset/src/rw.rs b/systems/_asset/src/rw.rs
index 784d44d..9a46144 100644
--- a/systems/_asset/src/rw.rs
+++ b/systems/_asset/src/rw.rs
@@ -3,8 +3,6 @@ use std::path::PathBuf;
use crate::error::{DataReadError, DataWriteError};
pub trait RWData<DataType> {
- type DataType;
-
/// Implement read logic
/// Given a path, return the specific data
fn read(path: &PathBuf) -> impl Future<Output = Result<DataType, DataReadError>> + Send + Sync;
@@ -37,7 +35,6 @@ macro_rules! ensure_eq {
}
};
}
-
// Test Data
pub struct FooData {
pub age: i32,
@@ -45,8 +42,6 @@ pub struct FooData {
}
impl RWData<FooData> for FooData {
- type DataType = FooData;
-
async fn read(path: &PathBuf) -> Result<FooData, DataReadError> {
let content = tokio::fs::read_to_string(path)
.await