remove the fn

This commit is contained in:
Tadeo hepperle
2024-03-18 16:27:08 +01:00
parent 793da7e29d
commit 888c35e49f
2 changed files with 1 additions and 40 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ impl RuntimeGenerator {
///
/// Supported versions: v14 and v15.
pub fn new(mut metadata: Metadata) -> Self {
metadata.ensure_unique_type_paths();
scale_typegen::utils::ensure_unique_type_paths(metadata.types_mut());
RuntimeGenerator { metadata }
}