suppress format warnings

This commit is contained in:
Janis 2023-04-21 22:02:39 +02:00
parent efcc14fc1c
commit f8096cbba5

View file

@ -475,6 +475,10 @@ pub fn generate_package_rust_module<W: Write>(
sdk: &Sdk, sdk: &Sdk,
w: &mut W, w: &mut W,
) -> anyhow::Result<()> { ) -> anyhow::Result<()> {
writeln!(
w,
"#![allow(dead_code, non_snake_case, non_camel_case_types)]"
)?;
writeln!(w, "use super::*;")?; writeln!(w, "use super::*;")?;
for (pkg, _) in &pkg.package_dependencies { for (pkg, _) in &pkg.package_dependencies {
writeln!( writeln!(