rename disposition to ty

This commit is contained in:
SanderBaan
2026-03-26 17:36:51 +01:00
parent 954476ac84
commit 711b113120
+2 -2
View File
@@ -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<String> {
disposition
fn get_file_name(ty: &ContentType<'a>) -> Option<String> {
ty
.params
.as_ref()?
.iter()