From 711b113120a6799aefaaffa5244aa2831fff9916 Mon Sep 17 00:00:00 2001 From: SanderBaan Date: Thu, 26 Mar 2026 17:36:51 +0100 Subject: [PATCH] rename disposition to ty --- src/modules/imap/section.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/imap/section.rs b/src/modules/imap/section.rs index ff95996..ba08f44 100644 --- a/src/modules/imap/section.rs +++ b/src/modules/imap/section.rs @@ -338,8 +338,8 @@ impl<'a> SectionExtractor<'a> { } /// Retrieves the file name from the content type if it exists. - fn get_file_name(disposition: &ContentType<'a>) -> Option { - disposition + fn get_file_name(ty: &ContentType<'a>) -> Option { + ty .params .as_ref()? .iter()