fix
This commit is contained in:
@ -32,8 +32,9 @@ where
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)]
|
||||
#[derive(Clone, Debug, PartialEq, Eq, Hash, Serialize, Deserialize, Default)]
|
||||
pub enum Process {
|
||||
#[default]
|
||||
Nill,
|
||||
RecursiveIdentifier {
|
||||
identifier: IdType,
|
||||
@ -152,12 +153,6 @@ impl BasicProcess for Process {
|
||||
}
|
||||
}
|
||||
|
||||
impl Default for Process {
|
||||
fn default() -> Self {
|
||||
Self::Nill
|
||||
}
|
||||
}
|
||||
|
||||
impl PrintableWithTranslator for Process {
|
||||
fn print(
|
||||
&self,
|
||||
@ -247,8 +242,9 @@ impl PrintableWithTranslator for Process {
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)]
|
||||
#[derive(Clone, Debug, PartialEq, Eq, Hash, Serialize, Deserialize, Default)]
|
||||
pub enum PositiveProcess {
|
||||
#[default]
|
||||
Nill,
|
||||
RecursiveIdentifier {
|
||||
identifier: IdType,
|
||||
@ -365,12 +361,6 @@ impl BasicProcess for PositiveProcess {
|
||||
}
|
||||
}
|
||||
|
||||
impl Default for PositiveProcess {
|
||||
fn default() -> Self {
|
||||
Self::Nill
|
||||
}
|
||||
}
|
||||
|
||||
impl PrintableWithTranslator for PositiveProcess {
|
||||
fn print(
|
||||
&self,
|
||||
|
||||
Reference in New Issue
Block a user