feat: add a new empty struct Handful
This commit is contained in:
@@ -3,8 +3,7 @@ use crate::*;
|
||||
// use std::str::FromStr;
|
||||
|
||||
#[derive(Debug, PartialEq, PartialOrd, Eq, Ord, Clone, Copy, Hash)]
|
||||
pub enum E {
|
||||
}
|
||||
pub enum E {}
|
||||
|
||||
// impl Display for E {
|
||||
// fn fmt(&self, f: &mut std::fmt::Formatter) -> std::result::Result<(), std::fmt::Error> {
|
||||
@@ -38,7 +37,7 @@ pub enum E {
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
//
|
||||
//
|
||||
// #[test]
|
||||
// fn check_002() {
|
||||
// for value in [E::NoValue] {
|
||||
|
||||
15
01.workspace/oxidice_lib/src/str/handful.rs
Normal file
15
01.workspace/oxidice_lib/src/str/handful.rs
Normal file
@@ -0,0 +1,15 @@
|
||||
use crate::*;
|
||||
|
||||
#[derive(Debug, Default, PartialEq, Clone)]
|
||||
pub struct O {}
|
||||
|
||||
// impl std::fmt::Display for O {
|
||||
// fn fmt(&self, _f: &mut std::fmt::Formatter) -> Result<(), std::fmt::Error> {
|
||||
// todo!();
|
||||
// }
|
||||
// }
|
||||
|
||||
// #[cfg(test)]
|
||||
// mod unit_tests {
|
||||
// use super::*;
|
||||
// }
|
||||
@@ -1 +1,2 @@
|
||||
pub mod failed_to;
|
||||
pub mod handful;
|
||||
|
||||
Reference in New Issue
Block a user