fix clippy

This commit is contained in:
WindSoilder 2024-07-17 10:18:18 +08:00
parent f03a97d932
commit b284bc3989

View File

@ -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(
initial: Option<Value>,
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 {})
}
}