From e844207792835ca8e447966297b78cecf8a056c5 Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Mon, 13 Jan 2025 17:42:42 +0000 Subject: [PATCH] Resolve compiler warning --- src/subrecord.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/subrecord.rs b/src/subrecord.rs index 14349c5..e9ef2db 100644 --- a/src/subrecord.rs +++ b/src/subrecord.rs @@ -116,7 +116,7 @@ impl<'a> SubrecordRef<'a> { )) } - pub fn subrecord_type(&'a self) -> &SubrecordType { + pub fn subrecord_type(&'a self) -> &'a SubrecordType { &self.subrecord_type }