From bc70e52138b0be037a653d6a4453551f7d9b9ef4 Mon Sep 17 00:00:00 2001 From: Micah Date: Mon, 23 Oct 2023 07:54:05 -0700 Subject: [PATCH] Fix clippy lint --- 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())