fix clippy
This commit is contained in:
parent
f03a97d932
commit
b284bc3989
|
@ -171,18 +171,6 @@ used as the next argument to the closure, otherwise generation stops.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(test)]
|
|
||||||
mod test {
|
|
||||||
use super::*;
|
|
||||||
|
|
||||||
#[test]
|
|
||||||
fn test_examples() {
|
|
||||||
use crate::test_examples;
|
|
||||||
|
|
||||||
test_examples(Generate {})
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
fn get_initial_state(
|
fn get_initial_state(
|
||||||
initial: Option<Value>,
|
initial: Option<Value>,
|
||||||
signature: &Signature,
|
signature: &Signature,
|
||||||
|
@ -214,3 +202,15 @@ fn get_initial_state(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(test)]
|
||||||
|
mod test {
|
||||||
|
use super::*;
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn test_examples() {
|
||||||
|
use crate::test_examples;
|
||||||
|
|
||||||
|
test_examples(Generate {})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user