diff --git a/implementations/rust/preserves-schema/src/compiler/mod.rs b/implementations/rust/preserves-schema/src/compiler/mod.rs index 09127e0..807404e 100644 --- a/implementations/rust/preserves-schema/src/compiler/mod.rs +++ b/implementations/rust/preserves-schema/src/compiler/mod.rs @@ -224,17 +224,6 @@ pub fn compile(config: &CompilerConfig) -> io::Result<()> { emit_items(generated.remove(&ModuleContextMode::TargetToplevel).unwrap()); emit_items(generated.remove(&ModuleContextMode::TargetGeneric).unwrap()); - // let mut generic_mod_items: Vec = vec![ - // item(vertical(false, seq![ - // format!("use {}::support as _support;", &config.support_crate), - // "use _support::Deserialize;", - // "use _support::preserves;"])), - // ]; - // generic_mod_items.extend(generated.remove(&ModuleContextMode::TargetGeneric).unwrap()); - // - // lines.push(Formatter::to_string(seq!["mod __ ", vertical(true, block(generic_mod_items))])); - // lines.push("".to_owned()); - { let contents = lines.join("\n"); write_if_changed(&output_path, contents.as_bytes())?;