From fe06356beadf2fe305878b1a5e64715196c3a3cf Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Sun, 25 Feb 2024 01:32:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96MessageFile=E7=BB=93=E6=9E=84?= =?UTF-8?q?=E4=BD=93=E7=9A=84get=5Fname=E5=92=8Cget=5Ffid=E6=96=B9?= =?UTF-8?q?=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ica-rs/src/data_struct/files.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/ica-rs/src/data_struct/files.rs b/ica-rs/src/data_struct/files.rs index 97a807e..f5739d8 100644 --- a/ica-rs/src/data_struct/files.rs +++ b/ica-rs/src/data_struct/files.rs @@ -19,10 +19,6 @@ pub struct MessageFile { } impl MessageFile { - pub fn get_name(&self) -> Option<&String> { - self.name.as_ref() - } - pub fn get_fid(&self) -> Option<&String> { - self.fid.as_ref() - } + pub fn get_name(&self) -> Option<&String> { self.name.as_ref() } + pub fn get_fid(&self) -> Option<&String> { self.fid.as_ref() } }