From 96ceaa426320a4ffe26890306283f54a4a7a61e5 Mon Sep 17 00:00:00 2001 From: Kedar Sovani Date: Tue, 1 Aug 2023 11:41:41 +0530 Subject: [PATCH] Weird: Disable #[allow(dead_code)], as it was causing incorrect behaviour For some reason, this caused the 'start' attribute to be ignored in the tlvargs. Need to investigate further. --- rs-matter/src/fabric.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/rs-matter/src/fabric.rs b/rs-matter/src/fabric.rs index 8959407..203215f 100644 --- a/rs-matter/src/fabric.rs +++ b/rs-matter/src/fabric.rs @@ -33,7 +33,6 @@ use crate::{ const COMPRESSED_FABRIC_ID_LEN: usize = 8; -#[allow(dead_code)] #[derive(Debug, ToTLV)] #[tlvargs(lifetime = "'a", start = 1)] pub struct FabricDescriptor<'a> {