chore: fix clippy

This commit is contained in:
Georgios Konstantopoulos 2022-10-11 10:53:19 -07:00
parent 676f039230
commit f295af1f3f
1 changed files with 1 additions and 7 deletions

View File

@ -33,7 +33,7 @@ impl MockProjectSkeleton {
} }
/// Represents a virtual project /// Represents a virtual project
#[derive(Serialize)] #[derive(Serialize, Default)]
pub struct MockProjectGenerator { pub struct MockProjectGenerator {
/// how to name things /// how to name things
#[serde(skip)] #[serde(skip)]
@ -368,12 +368,6 @@ impl From<MockProjectSkeleton> for MockProjectGenerator {
} }
} }
impl Default for MockProjectGenerator {
fn default() -> Self {
Self { name_strategy: Box::new(SimpleNamingStrategy::default()), inner: Default::default() }
}
}
/// Used to determine the names for elements /// Used to determine the names for elements
trait NamingStrategy { trait NamingStrategy {
/// Return a new name for the given source file id /// Return a new name for the given source file id