Skip to content

Commit 2ca47a7

Browse files
committed
Inline redundant variable
1 parent d3b44ae commit 2ca47a7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

crates/fj-core/src/layers/layers.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,8 @@ impl Layers {
4141

4242
/// Construct an instance of `Layers`, using the provided configuration
4343
pub fn with_validation_config(config: ValidationConfig) -> Self {
44-
let validation = Layer::new(Validation::with_validation_config(config));
45-
4644
Self {
47-
validation,
45+
validation: Layer::new(Validation::with_validation_config(config)),
4846
..Default::default()
4947
}
5048
}

0 commit comments

Comments
 (0)