summaryrefslogtreecommitdiff
path: root/schist_traits
diff options
context:
space:
mode:
authorJoe Carstairs <jcarstairs@scottlogic.com>2025-07-28 13:22:53 +0100
committerJoe Carstairs <jcarstairs@scottlogic.com>2025-07-28 13:30:27 +0100
commit2361adeb0ca77904138e3466d51c2f44cf6df613 (patch)
treef6e7192908f99fab62061913d8a1e9d2b918414b /schist_traits
parentc7ed1e61ce2218be0b9e60577454124c4e43a366 (diff)
Tidier folders
Diffstat (limited to 'schist_traits')
-rw-r--r--schist_traits/Cargo.toml4
-rw-r--r--schist_traits/src/dateable.rs5
-rw-r--r--schist_traits/src/lib.rs3
-rw-r--r--schist_traits/src/nowlike.rs3
-rw-r--r--schist_traits/src/timeable.rs5
5 files changed, 0 insertions, 20 deletions
diff --git a/schist_traits/Cargo.toml b/schist_traits/Cargo.toml
deleted file mode 100644
index 1515eda..0000000
--- a/schist_traits/Cargo.toml
+++ /dev/null
@@ -1,4 +0,0 @@
-[package]
-name = "schist_traits"
-version = "0.1.0"
-edition = "2021"
diff --git a/schist_traits/src/dateable.rs b/schist_traits/src/dateable.rs
deleted file mode 100644
index 05f2d74..0000000
--- a/schist_traits/src/dateable.rs
+++ /dev/null
@@ -1,5 +0,0 @@
-pub trait Dateable {
- fn year(&self) -> i32;
- fn month(&self) -> u32;
- fn day(&self) -> u32;
-}
diff --git a/schist_traits/src/lib.rs b/schist_traits/src/lib.rs
deleted file mode 100644
index ab5caca..0000000
--- a/schist_traits/src/lib.rs
+++ /dev/null
@@ -1,3 +0,0 @@
-pub mod dateable;
-pub mod nowlike;
-pub mod timeable;
diff --git a/schist_traits/src/nowlike.rs b/schist_traits/src/nowlike.rs
deleted file mode 100644
index bae2309..0000000
--- a/schist_traits/src/nowlike.rs
+++ /dev/null
@@ -1,3 +0,0 @@
-pub trait Nowlike {
- fn now() -> Self;
-}
diff --git a/schist_traits/src/timeable.rs b/schist_traits/src/timeable.rs
deleted file mode 100644
index f6f9244..0000000
--- a/schist_traits/src/timeable.rs
+++ /dev/null
@@ -1,5 +0,0 @@
-pub trait Timeable {
- fn hour(&self) -> u32;
- fn minute(&self) -> u32;
- fn second(&self) -> u32;
-}