use pkg name instead of placeholder string

This commit is contained in:
Janis 2023-06-26 10:54:53 +02:00
parent 1ab11164d3
commit d4505e58d4

View file

@ -729,8 +729,7 @@ pub mod rust {
} }
fn generate_package(&self, pkg: &ProcessedPackage) -> anyhow::Result<()> { fn generate_package(&self, pkg: &ProcessedPackage) -> anyhow::Result<()> {
// TODO: canonicalize_name(&pkg.name); let pkg_name = canonicalize_name(&pkg.name);
let pkg_name = "PACKAGE_NAME_PLACEHOLDER".to_string();
for (_id, ty) in &pkg.types { for (_id, ty) in &pkg.types {
let tokens = match ty { let tokens = match ty {