From bf942c9c5ad73476beea7a20e42db396f80692d7 Mon Sep 17 00:00:00 2001 From: Micah Date: Mon, 23 Oct 2023 07:58:24 -0700 Subject: [PATCH] Fix clippy lint in rbx_types (#373) --- rbx_types/src/attributes/writer.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/rbx_types/src/attributes/writer.rs b/rbx_types/src/attributes/writer.rs index e3f262be2..0f31d574f 100644 --- a/rbx_types/src/attributes/writer.rs +++ b/rbx_types/src/attributes/writer.rs @@ -23,8 +23,6 @@ pub(crate) fn write_attributes( writer.write_all(&(map.len() as u32).to_le_bytes())?; for (name, variant) in map { - let variant = variant; - write_string(&mut writer, name)?; let type_id = type_id::from_variant_type(variant.ty())