mirror of
https://github.com/rustmailer/rustmailer.git
synced 2026-09-07 00:01:20 +00:00
rename disposition to ty
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user